[Samba] Unable to solve the problem in setting up PDC for network
Mayuk De
mayuk.de at gmail.com
Wed Jun 2 09:57:04 MDT 2010
Hi,
User and machine accounts can be added using pdbedit utility.
You can use the -m switch of pdbedit to add a machine account.
Refer http://samba.org/samba/docs/man/manpages-3/pdbedit.8.html for more
info on pdbedit.
You can also try specifying a "admin user" in your smb.conf and use that
user's credentials while joining.
Hope this helps :)
- Mayuk
On Wed, Jun 2, 2010 at 6:58 PM, Some One <databytes at gmail.com> wrote:
> Hi Guys,
> Can you please tell me why is this failing to connect
>
> I'am running samba on Freebsd 8.
> I've pasted the testparm of samba.
>
> It first gave me unable to connect as a RPC
> and now it again gives me error that unknown user or password.
>
> -------------------------------------------------------------------
> CAN YOU TELL ME HOW TO SETUP MACHINE ACCOUNTS AND NORMAL SAMBA ACCOUNTS to
> connect XP PRO Machines./ IF THERE IS ANY PROBLEM WITH smb.conf?
> -----------------------------------------------------------------
>
>
>
> server# testparm /usr/local/etc/smb.conf
> Load smb config files from /usr/local/etc/smb.conf
> Processing section "[homes]"
> Processing section "[netlogon]"
> Processing section "[Profiles]"
> Processing section "[printers]"
> Processing section "[tmp]"
> Processing section "[public]"
> Loaded services file OK.
> Server role: ROLE_DOMAIN_PDC
> Press enter to see a dump of your service definitions
>
> [global]
> workgroup = INET
> netbios name = INET
> server string = Server
> log file = /var/log/samba/log.%m
> max log size = 50
> add user script = /usr/sbin/useradd %u
> delete user script = /usr/sbin/userdel %u
> add group script = /usr/sbin/groupadd %g
> delete group script = /usr/sbin/groupdel %g
> delete user from group script = /usr/sbin/deluser %u %g
> add machine script = /usr/sbin/adduser -n -g machines -c Machine -d
> /dev/null -s /bin/false %u
> logon path = \\%L\Profiles\%U
> domain logons = Yes
> os level = 65
> domain master = Yes
> dns proxy = No
> wins support = Yes
> winbind trusted domains only = Yes
>
> [homes]
> comment = Home Directories
> read only = No
> browseable = No
>
> [netlogon]
> comment = Network Logon Service
> path = /usr/local/samba/lib/netlogon
> guest ok = Yes
> share modes = No
>
> [Profiles]
> path = /usr/local/samba/profiles
> guest ok = Yes
> browseable = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [tmp]
> comment = Temporary file space
> path = /tmp
> read only = No
> guest ok = Yes
>
> [public]
> comment = Public Stuff
> path = /home/samba
> write list = @staff
> read only = No
> guest ok = Yes
>
>
>
> ---------------------------------------------------------------
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list