Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Samba as PDC

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
billiejoex
Posts: 3
Joined: 2005-10-27 21:58

Samba as PDC

#1 Post by billiejoex »

Hi all. I have a samba server running as PDC that authenticates 15 windows clients in my network.
Now I plan to add some other client machines running Suse and I would like to authenticate on PDC them too.
I tried to google a lot about it but I find it extremely hard to do.
How can I do it? Do I have to apply some changes on smb.conf file on the server?
What should I do on client machines? Does it is possible to have a "windows-like logon screen" on every boot (maybe do I have to modify pam?)?
This is my smb.conf:
http://pastebin.com/407650

Thanks in advance

billiejoex
Posts: 3
Joined: 2005-10-27 21:58

#2 Post by billiejoex »

No one can help me? :(

drdebian
Posts: 80
Joined: 2004-10-09 16:17
Location: austria
Contact:

#3 Post by drdebian »

billiejoex wrote:No one can help me? :(
Can you post that smb.conf of yours again? The link above doesn't point anywhere useful anymore.

Guest

#4 Post by Guest »

Code: Select all

[global]
    workgroup = intranet
    netbios name = server
#stringa riferita al server che compare al client in "risorse di rete"
    server string = SAMBA PDC Server - Versione %v 
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 
    os level = 64
    preferred master = yes 
    local master = yes 
    domain master = yes 
    security = user 
    encrypt passwords = yes 
    domain logons = yes 
#reti ip a cui permettere l'accesso e interfacce su cui rimanere in ascolto
    hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
    bind interfaces only = yes  
    interfaces = eth1
#logs
    debug timestamp = no
    log file = /var/log/samba/log.%m 
    log level = 2
    max log size = 1000
#directory amministrative del server (%L = netbios's server name, %U = username)
    logon home = \\%L\%U\.profile 
    logon path = \\%L\profiles\%U 
    logon drive = H: 
    logon script = netlogon.bat 
#script aiiugntivi
    add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
#unix password sync = yes
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all* authentication*tokens*updated*successfully*


### CONDIVISIONI

# condivisione pubblica:
[Pubblica] 
path = /home/public
comment = Risorsa pubblica full access
writable = yes
browsable = yes
# se si vuole avere permesso in scrittura eseguire:
# $ chmod 777 -R /directory

# Condivisione speciale che contiene gli script che vengono eseguiti sui 
# client Windows al login sul dominio. Devono essere eseguibili su Windows
# e possono essere utilizzati per varie operazione di amministrazione centralizzata 
# (backup di dati locali, aggiornamento programmi o antivirus, mappatura di nuove 
# condivisioni di rete ecc.)
[netlogon] 
    path = /home/netlogon 
    read only = yes 
    write list = @admin
    browseable = no

#[homes]
 #   path = /home/billiejoex
   # valid users = %U
    #writable = yes
   # writeable = yes
   # create mask = 0777
   # directory mask = 0777
   # browseable = no
#esegue un comando come root, sul server, ogni qualvolta l'utente si logga
#lo stesso ma esegue il comando quando l'utente si slogga
#root postexec = mkdir /root/sloggato
#root postexec = mkdir /home/billiejoex


# Tramite [profile] per ogni utente del dominio viene creata in automatico una 
# cartella personale privata accessibile al solo utente loggato. 
[profiles] 
    path = /home/profiles 
    comment = Directory personali
    writeable = yes 
    browseable = yes
    create mask = 0600
    directory mask = 0700
    root preexec = /usr/bin/touch /home/IN%I
    root postexec = /usr/bin/touch /home/OUT%I

billiejoex
Posts: 3
Joined: 2005-10-27 21:58

#5 Post by billiejoex »

That was my smb.conf file. I'm sorry, I wasn't logged in the forum yet.

Post Reply