[Samba] Slow logins and groupmaps, Please Help
David "3oz" Sonenberg
pip_prime at yahoo.com
Mon Aug 16 14:16:13 GMT 2004
I have my samba box running as a PDC. When users
login to the domain, it takes a long time (3-5
minutes). I gets to the section 'Loading Personel
Settings...' and just sits there for several minutes.
I've also noticed that the login.bat script only works
for root, and all that does is net use h:
\\samba\homes. Here's my smb.conf file. Any help
would be appreciated.
[global]
netbios name = SAMBA
workgroup = DOMAIN
passdb backend = tdbsam
# Scripts
add user script = /usr/sbin/useradd -n -m %u
delete user script = /usr/sbin/userdel -r %u
add group script =
/var/lib/samba/scripts/smbgrpadd.sh %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod
-G %g %u
add machine script = /usr/sbin/useradd -s
/bin/false -d /dev/null %u
os level = 33
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
logon script = logon.bat
wins support = yes
syslog = 5
[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin
[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700
[homes]
valid users = %S
read only = No
browseable = No
How do I delete unmapped entries from my groupmap.
I've managed to delete incorrect entries but I still
have all these unmapped entries that I can seem to
delete. Here's my groupmappings
[root at samba root]# 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
Domain Users
(S-1-5-21-2915653246-892158047-278579456-513) -> users
Domain Guests
(S-1-5-21-2915653246-892158047-278579456-514) ->
nobody
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> -1
Account Operators (S-1-5-32-548) -> -1
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> -1
Domain Admins
(S-1-5-21-2915653246-892158047-278579456-512) ->
ntadmins
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the samba
mailing list