domaine samba pdc non disponible sous win2k

Forum d'assistance et d'échange sur l'installation, la configuration, et l'utilisation des système Linux et BSD. Vous pouvez y poster vos questions concernant ces systèmes d'exploitation en faisant l'effort préalable de rechercher dans le forum, dans les manuels et les documentations que la réponse n'y figure pas.

Modérateur: modos Ixus

Messagepar mahecor » 09 Fév 2004 17:52

'ai réussi à ntégrer un client windows 2000 dans un domaine samba pdc mais au moment de se loguer dans windows 2000 avec le compte utilisateur créer dans samba il m'annonce que le domaine n'est pas disponible. <BR>j'ai créé un compte root et un compte utilisateur tous dans samba plus un cumpte invité <BR>voici la configuration de mon fichier smb.conf <BR> <BR>#======================= Global Settings ===================================== <BR>[global] <BR> <BR># workgroup = NT-Domain-Name or Workgroup-Name <BR> workgroup = TEST.EDU <BR> netbios name = PDC <BR># server string is the equivalent of the NT Description field <BR> server string = Samba Server <BR> <BR># This option is important for security. It allows you to restrict <BR># connections to machines which are on your local network. The <BR># following example restricts access to two C class networks and <BR># the "loopback" interface. For more examples of the syntax see <BR># the smb.conf man page <BR> hosts allow = 192.168.1. 192.168.0. 127. <BR> <BR># if you want to automatically load your printer list rather <BR># than setting them up individually then you'll need this <BR> printcap name = /etc/printcap <BR> load printers = yes <BR> <BR># It should not be necessary to spell out the print system type unless <BR># yours is non-standard. Currently supported print systems include: <BR># bsd, sysv, plp, lprng, aix, hpux, qnx, cups <BR> printing = cups <BR> <BR># Uncomment this if you want a guest account, you must add this to /etc/passwd <BR># otherwise the user "nobody" is used <BR> guest account = pcguest <BR> <BR># this tells Samba to use a separate log file for each machine <BR># that connects <BR> log file = /var/log/samba/%m.log <BR> <BR># Put a capping on the size of the log files (in Kb). <BR> max log size = 50 <BR> <BR># Security mode. Most people will want user level security. See <BR># security_level.txt for details. <BR> security = user <BR> <BR># Use password server option only with security = server <BR># The argument list may include: <BR># password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] <BR># or to auto-locate the domain controller/s <BR># password server = * <BR> password server = PDC <BR> <BR># Password Level allows matching of _n_ characters of the password for <BR># all combinations of upper and lower case. <BR> ; password level = 8 <BR> ;username level = 8 <BR> <BR># You may wish to use password encryption. Please read <BR># ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. <BR># Do not enable this option unless you have read those documents <BR> encrypt passwords = yes <BR> smb passwd file = /etc/samba/smbpasswd <BR> <BR># The following is needed to keep smbclient from spouting spurious errors <BR># when Samba is built with support for SSL. <BR>; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt <BR> <BR># The following are needed to allow password changing from Windows to <BR># update the Linux system password also. <BR># NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above. <BR># NOTE2: You do NOT need these to allow workstations to change only <BR># the encrypted SMB passwords. They allow the Unix password <BR># to be kept in sync with the SMB password. <BR> unix password sync = Yes <BR> passwd program = /usr/bin/passwd %u <BR> passwd chat = *New*password* %nn *Retype*new*password* %nn *passwd:*all*authentication*tokens*updated*successfully* <BR> <BR># You can use PAM's password change control flag for Samba. If <BR># enabled, then PAM will be used for password changes when requested <BR># by an SMB client instead of the program listed in passwd program. <BR># It should be possible to enable this without changing your passwd <BR># chat parameter for most setups. <BR> <BR> pam password change = yes <BR> <BR># Unix users can map to different SMB User names <BR> username map = /etc/samba/smbusers <BR> <BR># Using the following line enables you to customise your configuration <BR># on a per machine basis. The %m gets replaced with the netbios name <BR># of the machine that is connecting <BR>; include = /etc/samba/smb.conf.%m <BR> <BR># This parameter will control whether or not Samba should obey PAM's <BR># account and session management directives. The default behavior is <BR># to use PAM for clear text authentication only and to ignore any <BR># account or session management. Note that Samba always ignores PAM <BR># for authentication in the case of encrypt passwords = yes <BR> <BR> obey pam restrictions = yes <BR> <BR># Most people will find that this option gives better performance. <BR># See speed.txt and the manual pages for details <BR> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 <BR> <BR># Configure Samba to use multiple interfaces <BR># If you have multiple network interfaces then you must list them <BR># here. See the man page for details. <BR> interfaces = 192.168.1.6/24 <BR> <BR># Configure remote browse list synchronisation here <BR># request announcement to, or browse list sync from: <BR># a specific host or from / to a whole subnet (see below) <BR>; remote browse sync = 192.168.3.25 192.168.5.255 <BR># Cause this host to announce itself to local subnets here <BR>; remote announce = 192.168.1.255 192.168.2.44 <BR> <BR># Browser Control Options: <BR># set local master to no if you don't want Samba to become a master <BR># browser on your network. Otherwise the normal election rules apply <BR> local master = yes <BR> <BR># OS Level determines the precedence of this server in master browser <BR># elections. The default value should be reasonable <BR> os level = 64 <BR> <BR># Domain Master specifies Samba to be the Domain Master Browser. This <BR># allows Samba to collate browse lists between subnets. Don't use this <BR># if you already have a Windows NT domain controller doing this job <BR> domain master = yes <BR> <BR># Preferred Master causes Samba to force a local browser election on startup <BR># and gives it a slightly higher chance of winning the election <BR> preferred master = yes <BR> <BR># Enable this if you want Samba to be a domain logon server for <BR># Windows95 workstations. <BR> domain logons = yes <BR> <BR># if you enable domain logons then you may want a per-machine or <BR># per user logon script <BR># run a specific logon batch file per workstation (machine) <BR> logon script = %m.bat <BR># run a specific logon batch file per username <BR> logon script = %U.bat <BR> <BR># Where to store roving profiles (only for Win95 and WinNT) <BR># %L substitutes for this servers netbios name, %U is username <BR># You must uncomment the [Profiles] share below <BR> logon path = %LProfiles%U <BR> <BR># Windows Internet Name Serving Support Section: <BR># WINS Support - Tells the NMBD component of Samba to enable it's WINS Server <BR>; wins support = yes <BR> <BR># WINS Server - Tells the NMBD components of Samba to be a WINS Client <BR># Note: Samba can be either a WINS Server, or a WINS Client, but NOT both <BR>; wins server = w.x.y.z <BR> <BR># WINS Proxy - Tells Samba to answer name resolution queries on <BR># behalf of a non WINS capable client, for this to work there must be <BR># at least one WINS Server on the network. The default is NO. <BR>; wins proxy = yes <BR> <BR># DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names <BR># via DNS nslookups. The built-in default for versions 1.9.17 is yes, <BR># this has been changed in version 1.9.18 to no. <BR> ; dns proxy = no <BR> <BR># Case Preservation can be handy - system default is _no_ <BR># NOTE: These can be set on a per share basis <BR>; preserve case = no <BR>; short preserve case = no <BR># Default case is normally upper case for all DOS files <BR>; default case = lower <BR># Be very careful with case sensitivity - it can break things! <BR>; case sensitive = no <BR> <BR>#============================ Share Definitions ============================== <BR>[homes] <BR> comment = Home Directories <BR> browseable = no <BR> writable = yes <BR> valid users = %S <BR> create mode = 0664 <BR> directory mode = 0775 <BR># If you want users samba doesn't recognize to be mapped to a guest user <BR>; map to guest = bad user <BR> <BR> <BR># Un-comment the following and create the netlogon directory for Domain Logons <BR>; [netlogon] <BR>; comment = Network Logon Service <BR> path = /usr/local/samba/lib/netlogon <BR> guest ok = yes <BR> writable = no <BR> share modes = no <BR> <BR> <BR># Un-comment the following to provide a specific roving profile share <BR># the default is to use the user's home directory <BR>;[Profiles] <BR> path = /usr/local/samba/profiles <BR> browseable = no <BR> guest ok = yes <BR> nt acl support = no <BR> <BR> <BR># NOTE: If you have a BSD-style print system there is no need to <BR># specifically define each individual printer <BR>[printers] <BR> comment = All Printers <BR> path = /var/spool/samba <BR> browseable = no <BR># Set public = yes to allow user 'guest account' to print <BR> guest ok = no <BR> writable = no <BR> printable = yes <BR> <BR># This one is useful for people to share files <BR>;[tmp] <BR>; comment = Temporary file space <BR>; path = /tmp <BR>; read only = no <BR>; public = yes <BR> <BR># A publicly accessible directory, but read only, except for people in <BR># the "staff" group <BR>;[public] <BR> comment = Public Stuff <BR> path = /home/samba <BR> public = yes <BR> writable = yes <BR> printable = no <BR> write list = @staff <BR> <BR># Other examples. <BR># <BR># A private printer, usable only by fred. Spool data will be placed in fred's <BR># home directory. Note that fred must have write access to the spool directory, <BR># wherever it is. <BR>;[fredsprn] <BR>; comment = Fred's Printer <BR>; valid users = fred <BR>; path = /home/fred <BR>; printer = freds_printer <BR>; public = no <BR>; writable = no <BR>; printable = yes <BR> <BR># A private directory, usable only by fred. Note that fred requires write <BR># access to the directory. <BR>;[fredsdir] <BR>; comment = Fred's Service <BR>; path = /usr/somewhere/private <BR>; valid users = fred <BR>; public = no <BR>; writable = yes <BR>; printable = no <BR> <BR># a service which has a different directory for each machine that connects <BR># this allows you to tailor configurations to incoming machines. You could <BR># also use the %U option to tailor it by user name. <BR># The %m gets replaced with the machine name that is connecting. <BR>;[pchome] <BR>; comment = PC Directories <BR>; path = /usr/local/pc/%m <BR>; public = no <BR>; writable = yes <BR> <BR># A publicly accessible directory, read/write to all users. Note that all files <BR># created in the directory by users will be owned by the default user, so <BR># any user with access can delete any other user's files. Obviously this <BR># directory must be writable by the default user. Another user could of course <BR># be specified, in which case all files would be owned by that user instead. <BR>;[public] <BR>; path = /usr/somewhere/else/public <BR>; public = yes <BR>; only guest = yes <BR>; writable = yes <BR>; printable = no <BR> <BR># The following two entries demonstrate how to share a directory so that two <BR># users can place files there that will be owned by the specific users. In this <BR># setup, the directory should be writable by both users and should have the <BR># sticky bit set on it to prevent abuse. Obviously this could be extended to <BR># as many users as required. <BR>;[myshare] <BR>; comment = Mary's and Fred's stuff <BR>; path = /usr/somewhere/shared <BR>; valid users = mary fred <BR>; public = no <BR>; writable = yes <BR>; printable = no <BR>; create mask = 0765 <BR> <IMG SRC="images/smiles/icon_help.gif">
Avatar de l’utilisateur
mahecor
Quartier Maître
Quartier Maître
 
Messages: 12
Inscrit le: 30 Jan 2004 01:00
Localisation: Dakar

Messagepar micmonay » 09 Fév 2004 18:51

Bonjour <BR> <BR>Je pense que ses pages vont sûrement vous intéressez la première concerne votre problème (ci j'ai bien comprit) et la deuxième concerne la configuration général de samba <BR> <BR><!-- BBCode u2 Start --><A HREF="http://www.linux-france.org/~eprigent/" TARGET="_blank">http://www.linux-france.org/~eprigent/</A><!-- BBCode u2 End --> <BR><!-- BBCode u2 Start --><A HREF="http://samba.2037.biz/docs.php" TARGET="_blank">http://samba.2037.biz/docs.php</A><!-- BBCode u2 End --> <IMG SRC="images/smiles/icon_wink.gif"> <BR><BR><font size=-2></font>
Avatar de l’utilisateur
micmonay
Matelot
Matelot
 
Messages: 10
Inscrit le: 09 Fév 2004 01:00


Retour vers Linux et BSD (forum généraliste)

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Google [Bot] et 1 invité

cron