|
From: TE D. <td...@pa...> - 2011-10-10 23:13:21
|
> -----Original Message----- > From: Jamie Cameron [mailto:jca...@we...] > Sent: Monday, October 10, 2011 5:43 PM > To: Webmin users list > Subject: Re: [webmin-l] Adding SAMBA users > > On 09/Oct/2011 10:35 TE Dukes <td...@pa...> wrote .. > > Hello, > > > > Trying to setup samba with webmin on a CentOS 6 machine. I > have been > > following, > > > http://doxfer.webmin.com/Webmin/SambaWindowsFileSharing#Managing_Samba > > _users > > > > When I try to edit samba users and passwords, webmin says, no samba > > users defined. I have added one user using smbpasswd -a > <username>. I > > can see the samba server from windows but it won't let me access it. > > > > Been working on this off and on for over a week. Could use > some help. > > You need to use the "Convert Unix Users to Samba Users" icon > in the Samba module to create samba accounts for some or all > of your unix users. Unfortunately samba users cannot exist in > isolation. > > Or simpler still, click on the "Configure automatic Unix and > Samba user synchronisation" > icon to setup automatic samba user creation when a unix user > is added. Then you can add a user at System -> Users and > Groups, and he will be created in Samba as well. > > - Jamie Hi Jamie, I did the above but no luck. I see my user name being added when I convert unix users to samba users. Since yesterday, I've done something and can't see the samba server from windows. I changed the hostname in Networking > Network Configuration > Hostname and DNS Client to the FQDN from the hostname, ts130. When webmin asks for hostname, should that be the FQDN, machine name or domain name? I noticed that seems to be where the Netbios name comes from. When I try to login to the windows machine from the server, I get a popup box asking for username, domain, and password. I setup an account on the windows machine the same as I set up for me as a samba user. When I enter the information, it just re-asks for the same info. Here's the smb.conf: # Samba config file created using SWAT # from UNKNOWN (0.0.0.0) # Date: 2011/10/09 14:50:41 [global] workgroup = PALMETTO netbios name = TS130 server string = Samba Server Version %v interfaces = lo, eth0, 192.168.1.0/24 security = SHARE log file = /var/log/samba/log.%m max log size = 50 wins proxy = Yes wins server = 192.168.1.110 cups options = raw [homes] comment = Home Directories writable = yes valid users = %S path = /home browseable = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = Yes share modes = No [Profiles] path = /var/lib/samba/profiles guest ok = Yes browseable = No Thanks, Eddie |