antonio montagnani wrote:

I have a small network with a Linux machine (named CONTEC) and a XP machine (named CELERON)
If issue the command


smbclient -L localhost -N
Domain=[CONTEC] OS=[Unix] Server=[Samba 3.0.2-7.FC1]

       Sharename      Type      Comment
       ---------      ----      -------
       homes          Disk      Home Directories
       Aurat          Disk      Copia directory HP
       IPC$           IPC       IPC Service (PC Antonio)
       ADMIN$         IPC       IPC Service (PC Antonio)
       HP_Celeron     Printer   Created by redhat-config-printer 0.6.x
       Epson810       Printer   Epson810
       antonio        Disk      Home Directories
Domain=[CONTEC] OS=[Unix] Server=[Samba 3.0.2-7.FC1]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------
       WORKGROUP            CELERON


Sometimes I see CELERON as master sometimes CONTEC sometimes blank....and of course if Master is different from CONTEC I can't work with command smb:/// i.e. access the Windos machine.


And here is my samba.conf file

#======================= Global Settings =====================================
[global]
log file = /var/log/samba/%m.log
load printers = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
null passwords = yes
username map = /etc/samba/user.map
encrypt passwords = yes
public = yes
wins support = true
dns proxy = no netbios name = Contec
server string = PC Antonio
workgroup = Workgroup
os level = 50
printcap name = /etc/printcap
security = user
max log size = 50


[homes]
    comment = Home Directories
    writeable = yes

[printers]
    browseable = no
    public = yes
    comment = All Printers
    printable = yes
    path = /var/spool/samba


[Aurat] comment = Copia directory HP writeable = yes path = /home/antoniomontagnani/HP


Any hint????

I am running Fedora Core 1.
Tnx

I should set os level = 255 preferred master = yes local master = yes domain master = auto


-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to