[WBEL-users] SAMBA
Ganeshram Iyer
gri0941@exchange.uta.edu
Sun, 08 Aug 2004 22:54:21 -0500
Thanks to both Craig and Johnny,
I finally got the mapped root login to be the administrator of the
member PC. It was just the mapping of ntgroup="Domain Admins" to
unixgroup=root was missing in the net groupmap list. So once I did that
things are working better. The original problem that I had with Visual
Studio.NET not allowing users to debug has also been solved with adding
Domain Users to the local Debugger Users group.
But wait, to rain on my parade, I have another problem. When I ssh to my
Linux PDC SMB server and try to change my password, how do I do it? Do I
run smbpasswd or passwd. I have attached my smb.conf below if it is needed.
# Global parameters
[global]
workgroup = TEST
server string = Test domain server
passwd program = /usr/bin/passwd %u
username map = /etc/samba/smbusers
unix password sync = Yes
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
domain logons = Yes
os level = 255
preferred master = Yes
dns proxy = No
admin users = @wheel
browseable = No
[homes]
comment = Home Directories
path = /home/netlogon
read only = No
[testuser]
comment = testuser Home
path = /home/testuser
valid users = testuser, root
read only = No
Craig White wrote:
>If you are a windows admin, this shouldn't be all that difficult. The
>people that seem to struggle are those that really don't understand
>Microsoft Networking - Microsoft Domains.
>
>1 - forget swat, webmin for now
>2 - use an editor - gedit is probably OK, I don't use it.
>3 - why not post your smb.conf to the list? - better yet, learn some
>command line methodology, it will serve you well. For example...
>su -
>smbpasswd -a Administrator
>smbpasswd Administrator
>testparm -sv > /tmp/configuration.txt
>echo "**** ***** *****" >> /tmp/configuration.txt
>echo "net groupmap list" >> /tmp/configuration.txt
>net groupmap list >> /tmp/configuration.txt
>chmod 777 /tmp/configuration.txt
>
>and then copy/paste the file into an email here.
>
>4 - Use the real samba documentation - what other people do has to be
>taken with a grain of salt and may not be applicable.
>Documentation sources...
><http://us1.samba.org/samba/docs/>
>
>Official Samba 3 How-to
><http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/>
>
>Samba 3 by Example
><http://us1.samba.org/samba/docs/man/Samba-Guide/>
>
>These are far and away the best information available on Samba and can
>be purchased (my recommendation) or downloaded as PDF, or use the html
>links that I provided.
>
>Probably, the setup that would be most like to yours in Samba 3 by
>Example is
><http://us1.samba.org/samba/docs/man/Samba-Guide/Big500users.html#chap05net>
>
>and in that example, it lists the line...
>passdb backend = tdbsam
>
>no reference to secrets.tdb and I haven't a clue where you got that
>from. By now, your 'secrets.tdb' could be corrupted...you might want to
>check it with the tdbdump tool - perhaps you need to move it, delete it,
>or simply start over with all the 'config files'
>
>Craig
>
>_______________________________________________
>Whitebox-users mailing list
>Whitebox-users@beau.org
>http://beau.org/mailman/listinfo/whitebox-users
>
>
>