[Samba] Samba 3 as pdc : Roaming profile cannot be created.... win2k workstation

2004-08-28 Thread Phillip K
I have Samba 3 running on gentoo as a pdc. I read in someone's forum
posting to try enabling acls and that didn't seem to do much good.  I
can get the computers to be added to the domain using their smb
username/passwords and when they login, the correct shares
corresponding to their users map perfectly; however, my biggest
problem is when they do login it says the following:

Windows cannot locate your roaming profile and is attempting to log
you on with your local profile. Changes to the profile will not be
propagated to the server.

DETAIL - The specified user does not exist. 

Afterwards, it says it will create a temporary profile which won't be
saved.  My guess is that the user is having trouble writing the
profile settings on the local computer.  Has anyone come across this
problem before?

thanks in advance,

Phill
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Windows 2000/xp logon says cannot create profile

2004-08-23 Thread Phillip K
I'm running samba-3 on gentoo using samba as a pdc to manage users to
designated shares and home directories.  I have managed to create
users/passwords which create the shared drives using a batch file.
However, when I do login with the user, it says it can't create a
profile and forces the the creation of a temporary profile which is
deleted when the user logs out.

Is there a way to fix this using pdbedit so that the profile is stored
in the profiles folder in samba-3?

thanks in advance
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] trouble configuring samba 3 as a pdc

2004-08-22 Thread Phillip K
Hi, 

I recently configured smb.conf file using tdbsam as a passdb backend
and tried to add computers to the domain TMSwater with little success.
 The workstation I'm trying to add to the domain is a windows xp
professional laptop.  When I attempt to add the laptop by going thru
'My Computer - Properties - Computer Name tab, it says network path
not found.

I can ping the server from the winxp prof laptop by both ip and
netBIOS name however I can't see the shares.  I found a tutorial for
an older version of samba which says you have to add the machine as a
'user' on the server hosing samba with the following commands.

#useradd -s /bin/false -d /nonexistent -c Trust Account workstationname\$ 
#smbpasswd -a -m workstsationname 

I tried this, then went back to the winxp prof workstation and
attempted to join the box to the domain whereas it said it failed. 
Every so often, it will ask for me to enter a username and password. 
I don't know if this is asking for a local account username/pass or a
samba username/pass?  If it is a samba username/pass, how do I go
about resetting the username/pass samba accounts if I need to?

thanks in advance 

Phill
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] adding users and permissions to designated shared folders and home directories?

2004-08-22 Thread Phillip K
After successfully installing and configuring samba 3 on a test server
and adding the root and the machine to the /etc/passwd file, how do I
go about adding users such that when they login, they have access to
certain shared home directories on the linux box?  For instance, if I
have the users bill and earl, how do I add those users such that bill
has access to both /home/WATER and /home/Accounting shares and earl
only has access to the shared folder /home/Accounting?  I would also
like each user to have their own home directories as detailed in the
smb.conf file below.  By just using 'smbpasswd  newuser' doesn't
work because I'm using tdbsam.  Any suggestions?

thanks in advance 



[global]
workgroup = MYWATER
netbios name = MYserver01
passdb backend = tdbsam
os level = 33
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon drive = H:
logon script = logon.cmd
logon path = \\%N\profiles\%u
add machine script = /usr/sbin/useradd -d /dev/null -g 100  -s
/bin/false -M %u

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
admin users = root
write list = ntadmin
[profiles]
comment = Roaming Profile Share
path = /var/lib/samba/profiles
read only = no

[Misc]
path = /home/Misc
read only = No
create mask = 0774
directory mask = 0775

[WATER]
path = /home/WATER
valid users = @water
read only = No
create mask = 0774
directory mask = 0775

[Accounting]
path = /home/Accounting
valid users = @accounting
read only = No
create mask = 0774
directory mask = 0775
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] cannot join domain unless its root user

2004-08-22 Thread Phillip K
I'm atttempting to setup samba 3 as a primary domain controller which
authenticates users from a windows 2k/xp prof workstation and maps
their respective home folders as well as their respective shared
folders on the gentoo server. For example, I have the following groups
with their designated shares:

Group Shared Dir 
  -- 
water  /home/water 
tms/home/tms 
accounting  /home/accounting 

and I have the users and groups 

UserGroup 
   --- 
bill   tms , water, accounting 
jillwater 

I am unable to get a client to join a domain unless I login and join
as root. The workstation display errors with username or password as
incorrect. However, when I go to network neighborhood, I can still see
the domain and see the shares on the server.

please advise? thanks in advance 

I do however add the machines to the tdbsam database by issuing the command: 
Code: 
# smbpasswd -a -m machine name  


and add the following line to the /etc/passwd file 

Code: 
machine name$:x:410:400:workstation:/dev/null:/bin/false  


Here is some other relavant information 

 net groupmap list 

# net groupmap list 
System Operators (S-1-5-32-549) - -1 
Replicators (S-1-5-32-552) - -1 
Guests (S-1-5-32-546) - -1 
TMS (S-1-5-21-2557073695-1402744893-439265927-1821) - tms 
Power Users (S-1-5-32-547) - -1 
Accounting (S-1-5-21-2557073695-1402744893-439265927-1817) - accounting 
Print Operators (S-1-5-32-550) - -1 
Administrators (S-1-5-32-544) - -1 
Waterlogic (S-1-5-21-2557073695-1402744893-439265927-1819) - water 
Domain Users (S-1-5-21-2557073695-1402744893-439265927-513) - users 

 cat smb.conf 


[global] 
workgroup = TMSWATER 
netbios name = TMSserver01 
passdb backend = tdbsam 
os level = 33 
preferred master = yes 
domain master = yes 
local master = yes 
security = user 
domain logons = yes 
logon drive = H: 
logon script = logon.cmd 
logon path = \\%N\profiles\%u 
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u 

[homes] 
comment = Home Directories 
valid users = %S 
read only = No 
browseable = No 

[netlogon] 
path = /var/lib/samba/netlogon 
read only = yes 
admin users = root 
write list = ntadmin 
[profiles] 
comment = Roaming Profile Share 
path = /var/lib/samba/profiles 
read only = no 

[Misc] 
path = /home/Misc 
read only = No 
create mask = 0774 
directory mask = 0775 

[TMS] 
path = /home/TMS 
valid users = @tms 
read only = no 
create mask = 0774 
directory mask = 0775 

[Accounting] 
path = /home/Accounting 
valid users = @accounting 
read only = No 
create mask = 0774 
directory mask = 0775 

[Water] 
path = /home/Water 
valid users = @water 
read only = No 
create mask = 0774 
directory mask = 0775
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba