Re: Samba server doesn't ask for alternate user credentials...
Dear David, below is what you asked for, I hope it's enough, thanks. On Fri, 2022-10-21 at 17:26 -0700, David Christensen wrote: > On 10/21/22 05:40, nimrod wrote: > > Hi, > > > > I'm running a Debian 10 Samba server with winbind and kerberos in a > > Active Directory domain. > > > > Domain users can access a unique share, which is then divideded > > into > > different directories, each with different file system permissions, > > based on domain users and groups. A single user can only access > > some of > > these directories from a Windows or Linux client (clearly joined to > > the > > domain) without being prompted for credentials, because the user is > > already logged in the domain by his client machine. > > > > The problem is that if a user tries to access one directory he's > > not > > allowed to access, the server just blocks the access, without > > giving > > him a chance to authenticate as a different user. This would be > > most > > useful for technicians, who need to access some "private" > > directories, > > containing installation packages and activation keys for many > > softwares, from the user client without being forced to logout from > > the > > client and login again with admin credentials, which is very > > annoying > > for them. > > > > Here is smb.conf: > > > > [global] > > workgroup = BNCRM > > log file = /var/log/samba/log.%m > > max log size = 1000 > > logging = file > > panic action = /usr/share/samba/panic-action %d > > server role = member server > > password server = dc2.bncrm.roma > > obey pam restrictions = yes > > unix password sync = yes > > passwd program = /usr/bin/passwd %u > > passwd chat = *Enter\snew\s*\spassword:* %n\n > > *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* > > . > > pam password change = yes > > usershare allow guests = yes > > kerberos method = system keytab > > template homedir = /home/%U > > template shell = /bin/bash > > security = ads > > realm = BNCRM.ROMA > > idmap backend = tdb > > idmap gid = 1-200 > > idmap uid = 1-200 > > winbind use default domain = yes > > winbind refresh tickets = yes > > winbind offline logon = yes > > winbind enum groups = yes > > winbind enum users = yes > > vfs objects = acl_xattr > > map acl inherit = Yes > > store dos attributes = Yes > > username map = /etc/samba/user.map > > > > [dati] > > path = /data > > valid users = @"domain users", system > > browsable = yes > > writable = yes > > read only = no > > - > > Here is nsswitch.conf: > > > > passwd: files systemd winbind > > group: files systemd winbind > > shadow: files winbind > > gshadow: files > > hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname > > networks: files > > protocols: db files > > services: db files winbind > > ethers: db files > > rpc: db files > > netgroup: nis winbind > > sudoers: files winbind > > > > pam.d/common-auth > > > > auth [success=2 default=ignore] pam_unix.so nullok_secure > > auth [success=1 default=ignore] pam_winbind.so krb5_auth > > krb5_ccache_type=FILE cached_login try_first_pass > > auth requisite pam_deny.so > > auth required pam_permit.so > > --- > > Finally, krb5.conf: > > > > [libdefaults] > > default_realm = BNCRM.ROMA > > kdc_timesync = 1 > > ccache_type = 4 > > forwardable = true > > proxiable = true > > fcc-mit-ticketflags = true > > > > [realms] > > BNCRM = { > > kdc = 192.168.0.195 > > kdc = 192.168.0.190 > > admin_server = 192.168.0.195 192.168.0.190 > > } > > > > [domain_realm] > > .bncrm.roma = BNCRM.ROMA > > bncrm.roma = BNCRM.ROMA > > --- > > I'm not sure it's enough, feel free to ask anything you need. > > > > Thanks in advance and best regards. > > > Please run the following command and post your complete console > session > (prompts, commands entered, output displayed): > > # cat /etc/debian_version ; uname -a 11.5 Linux PC-GIULIANO.BNCRM.ROMA 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux > Please run the following command and post your complete console > session > for any Samba, winbind, Kerberos, and/or other relevant packages you > have installed: > > # dpkg-query -W samba 2:4.13.13+dfsg-1~deb11u5 winbind krb5-config 2.6+nmu1 krb5-doc krb5-k5tls krb5-kdc krb5-locales 1.18.3-6+deb11u2 krb5-user 1.18.3-6+deb11u2 > > > David >
Re: Samba server doesn't ask for alternate user credentials...
On 10/21/22 05:40, nimrod wrote: Hi, I'm running a Debian 10 Samba server with winbind and kerberos in a Active Directory domain. Domain users can access a unique share, which is then divideded into different directories, each with different file system permissions, based on domain users and groups. A single user can only access some of these directories from a Windows or Linux client (clearly joined to the domain) without being prompted for credentials, because the user is already logged in the domain by his client machine. The problem is that if a user tries to access one directory he's not allowed to access, the server just blocks the access, without giving him a chance to authenticate as a different user. This would be most useful for technicians, who need to access some "private" directories, containing installation packages and activation keys for many softwares, from the user client without being forced to logout from the client and login again with admin credentials, which is very annoying for them. Here is smb.conf: [global] workgroup = BNCRM log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = member server password server = dc2.bncrm.roma obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes usershare allow guests = yes kerberos method = system keytab template homedir = /home/%U template shell = /bin/bash security = ads realm = BNCRM.ROMA idmap backend = tdb idmap gid = 1-200 idmap uid = 1-200 winbind use default domain = yes winbind refresh tickets = yes winbind offline logon = yes winbind enum groups = yes winbind enum users = yes vfs objects = acl_xattr map acl inherit = Yes store dos attributes = Yes username map = /etc/samba/user.map [dati] path = /data valid users = @"domain users", system browsable = yes writable = yes read only = no - Here is nsswitch.conf: passwd: files systemd winbind group: files systemd winbind shadow: files winbind gshadow: files hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname networks: files protocols: db files services: db files winbind ethers: db files rpc: db files netgroup: nis winbind sudoers: files winbind pam.d/common-auth auth [success=2 default=ignore] pam_unix.so nullok_secure auth [success=1 default=ignore] pam_winbind.so krb5_auth krb5_ccache_type=FILE cached_login try_first_pass auth requisite pam_deny.so auth required pam_permit.so --- Finally, krb5.conf: [libdefaults] default_realm = BNCRM.ROMA kdc_timesync = 1 ccache_type = 4 forwardable = true proxiable = true fcc-mit-ticketflags = true [realms] BNCRM = { kdc = 192.168.0.195 kdc = 192.168.0.190 admin_server = 192.168.0.195 192.168.0.190 } [domain_realm] .bncrm.roma = BNCRM.ROMA bncrm.roma = BNCRM.ROMA --- I'm not sure it's enough, feel free to ask anything you need. Thanks in advance and best regards. Please run the following command and post your complete console session (prompts, commands entered, output displayed): # cat /etc/debian_version ; uname -a Please run the following command and post your complete console session for any Samba, winbind, Kerberos, and/or other relevant packages you have installed: # dpkg-query -W David
Samba server doesn't ask for alternate user credentials...
Hi, I'm running a Debian 10 Samba server with winbind and kerberos in a Active Directory domain. Domain users can access a unique share, which is then divideded into different directories, each with different file system permissions, based on domain users and groups. A single user can only access some of these directories from a Windows or Linux client (clearly joined to the domain) without being prompted for credentials, because the user is already logged in the domain by his client machine. The problem is that if a user tries to access one directory he's not allowed to access, the server just blocks the access, without giving him a chance to authenticate as a different user. This would be most useful for technicians, who need to access some "private" directories, containing installation packages and activation keys for many softwares, from the user client without being forced to logout from the client and login again with admin credentials, which is very annoying for them. Here is smb.conf: [global] workgroup = BNCRM log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = member server password server = dc2.bncrm.roma obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes usershare allow guests = yes kerberos method = system keytab template homedir = /home/%U template shell = /bin/bash security = ads realm = BNCRM.ROMA idmap backend = tdb idmap gid = 1-200 idmap uid = 1-200 winbind use default domain = yes winbind refresh tickets = yes winbind offline logon = yes winbind enum groups = yes winbind enum users = yes vfs objects = acl_xattr map acl inherit = Yes store dos attributes = Yes username map = /etc/samba/user.map [dati] path = /data valid users = @"domain users", system browsable = yes writable = yes read only = no - Here is nsswitch.conf: passwd: files systemd winbind group: files systemd winbind shadow: files winbind gshadow: files hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname networks: files protocols: db files services: db files winbind ethers: db files rpc: db files netgroup: nis winbind sudoers: files winbind pam.d/common-auth auth [success=2 default=ignore] pam_unix.so nullok_secure auth [success=1 default=ignore] pam_winbind.so krb5_auth krb5_ccache_type=FILE cached_login try_first_pass auth requisite pam_deny.so auth required pam_permit.so --- Finally, krb5.conf: [libdefaults] default_realm = BNCRM.ROMA kdc_timesync = 1 ccache_type = 4 forwardable = true proxiable = true fcc-mit-ticketflags = true [realms] BNCRM = { kdc = 192.168.0.195 kdc = 192.168.0.190 admin_server = 192.168.0.195 192.168.0.190 } [domain_realm] .bncrm.roma = BNCRM.ROMA bncrm.roma = BNCRM.ROMA --- I'm not sure it's enough, feel free to ask anything you need. Thanks in advance and best regards. -- nimrod
I need help with setting up my first samba server.
I think I have an OK understanding of the 'theory' of samba, but something is not working in practice. I have a small home LAN on which there are three Debian i386 boxes, one Windows laptop running Windows7, and five Macs of various models. All nine computers have access to the internet through a Netgear router. The Windows laptop and four of the Macs use an Apple Airport to get into the LAN via wireless, and then out to the Internet via the Netgear box. This is non-optimal but has worked quite reliably for family shared Internet access, but now there is a need for file sharing all these types of computers Debian/Mac/Windows. For this new (to me) function, I think making one of my Debian boxes a Samba server is the easiest way to go. But I am having a problem, or maybe several problems. I know how to install Debian packages. I've been doing it for almost a decade. But something is missing in my understanding of how to configure Samba for service in this situation. I have choosen to try to work on the connection of the Windows laptop first as I suppose it has the most 'authentic' implementation of a smb client. My problem is I think with smb passwords. I can't seem to get smbpassword to create records in an smb password database. I think I am supposed to run smbpassword as root on the Debian box that I want to be the samba server. Or perhaps as a user of that Debian box. When I attempt to set a root password I get: Failed to find entry for user root. And when I attempt to set a user password I get: machine 127.0.0.1 rejected the negotiate protocol. Error was : NT_STATUS_INVALID_NETWORK_RESPONSE. Also, when I restart samba after making changes to /etc/samba/smb.conf I get a notice that the daemon, smbd, was not found. And when I check the status with /etc/init.d/samba status, I'm told that smbd is running but nmbd is NOT running. /etc/samba/smb.conf is: [global] server string = %h server interfaces = 192.168.1.0/8 obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No panic action = /usr/share/samba/panic-action %d hosts allow = 192.168.1. [homes] comment = Home Directories valid users = %S read only = No create mask = 0775 directory mask = 0775 browseable = No [profiles] comment = Users profiles path = /home/samba/profiles create mask = 0600 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers Ideas? TIA -- Paul E Condon pecon...@mesanetworks.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130315224558.ga18...@big.lan.gnu
Re: I need help with setting up my first samba server.
On 15/03/13 06:45 PM, Paul E Condon wrote: I think I have an OK understanding of the 'theory' of samba, but something is not working in practice. I have a small home LAN on which there are three Debian i386 boxes, one Windows laptop running Windows7, and five Macs of various models. All nine computers have access to the internet through a Netgear router. The Windows laptop and four of the Macs use an Apple Airport to get into the LAN via wireless, and then out to the Internet via the Netgear box. This is non-optimal but has worked quite reliably for family shared Internet access, but now there is a need for file sharing all these types of computers Debian/Mac/Windows. For this new (to me) function, I think making one of my Debian boxes a Samba server is the easiest way to go. But I am having a problem, or maybe several problems. I know how to install Debian packages. I've been doing it for almost a decade. But something is missing in my understanding of how to configure Samba for service in this situation. I have choosen to try to work on the connection of the Windows laptop first as I suppose it has the most 'authentic' implementation of a smb client. My problem is I think with smb passwords. I can't seem to get smbpassword to create records in an smb password database. I think I am supposed to run smbpassword as root on the Debian box that I want to be the samba server. Or perhaps as a user of that Debian box. When I attempt to set a root password I get: Failed to find entry for user root. And when I attempt to set a user password I get: machine 127.0.0.1 rejected the negotiate protocol. Error was : NT_STATUS_INVALID_NETWORK_RESPONSE. Also, when I restart samba after making changes to /etc/samba/smb.conf I get a notice that the daemon, smbd, was not found. And when I check the status with /etc/init.d/samba status, I'm told that smbd is running but nmbd is NOT running. /etc/samba/smb.conf is: snipped out Ideas? TIA First off, take deep breath then wipe out your current samba installation (apt-get purge samba). Make sure you don't have any samba stuff left then reinstall the package. The default setup works fairly well. Go to the Samba by example documents and follow the setup for a basic small office server (http://www.samba.org/samba/docs/man/Samba-Guide/small.html) but try not to change things too much. Just do the very least that it takes to get Windows 7 domain groups, etc. working. This is more important than smb.conf. Windows 7 does not work with Samba by default. You need to google something like Windows 7 samba registry to get the two registry changes that Windows 7 requires. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5143df2f.8080...@rogers.com
Re: I need help with setting up my first samba server.
Hi Paul, Don't know if you remember me. I helped you get your wireless working up there on the mountain, quite some time ago. On 3/15/2013 5:45 PM, Paul E Condon wrote: I think I have an OK understanding of the 'theory' of samba, but something is not working in practice. There's not much theory to it, but a lot of practical. I have choosen to try to work on the connection of the Windows laptop first as I suppose it has the most 'authentic' implementation of a smb client. My This doesn't matter. It's the server side UNIX account and Samba config that matters. problem is I think with smb passwords. I can't seem to get smbpassword to create records in an smb password database. I think I am supposed to run smbpassword as root on the Debian box that I want to be the samba server. Or perhaps as a user of that Debian box. When I attempt to set a root password I get: See here's your problem. You don't yet understand the relationship between UNIX user accounts and Samba. In fact you don't yet understand UNIX user accounts at all. Look here: http://www.dummies.com/how-to/content/who-goes-there-understanding-permissions-in-unix.html Every client connection to Samba requires a username and password, and these are mapped directly to UNIX usernames and passwords. Ergo... You should have a user account named paul on the Debian box running Samba. Paul should be assigned to groups, and should have a home directory. When you connect from an SMB client, you supply the user name paul and the UNIX password for paul. If you setup your shares correctly, you will have access to all files and directories on the server which paul has access to. In short, every user connecting to Samba needs a local UNIX account on the Samba box. You *DO NOT* connect as root. If you don't want to create UNIX users on the Samba box, then you must go the guest route. All of this is covered in this very detailed document: http://www.samba.org/samba/docs/using_samba/ch09.html Setting up shares and getting access to the files and dirs under them via Samba is much more complicated than setting up MS Windows shares. That's because UNIX is designed for security. Windows is designed for ease of use. -- Stan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/514406b9.7020...@hardwarefreak.com
Re: Samba CUPS connection to localhost:631 timeout causes momentary interrupt in data stream from Samba server to clients
On Dec 21, 2011 1:13 PM, Camaleón noela...@gmail.com wrote: On Mon, 19 Dec 2011 12:32:08 -0500, Jonathan Polom wrote: (...) Why is printing enabled on a system that has no connected printers and doesn't even have CUPS installed? (...) I think that's a Samba default setting and AFAIK, Debian tends to keep the upstream defaults untouched unless there's a very strong and good reason to do it otherwise. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.12.21.18.13...@gmail.com Perhaps I need to direct this question to the Debian samba maintainers, and if its an upstream issue then direct it there. Perhaps samba should not behave this way and there's a bug causing the timeout to halt data transfer. This could even be fixed in a more recent version of samba which would put the issue back into the Debian realm. I've been trouble free now for days so I'm pretty confident that this was the cause. Thanks for the reply. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cae5so1_jclv8hqwwkc5e-kxndcggyd4d7uppxib0mbctd-p...@mail.gmail.com
Re: Samba CUPS connection to localhost:631 timeout causes momentary interrupt in data stream from Samba server to clients
On Thu, 22 Dec 2011 11:30:20 -0500, Jonathan Polom wrote: On Dec 21, 2011 1:13 PM, Camaleón noela...@gmail.com wrote: On Mon, 19 Dec 2011 12:32:08 -0500, Jonathan Polom wrote: (...) Why is printing enabled on a system that has no connected printers and doesn't even have CUPS installed? (...) I think that's a Samba default setting and AFAIK, Debian tends to keep the upstream defaults untouched unless there's a very strong and good reason to do it otherwise. Perhaps I need to direct this question to the Debian samba maintainers, and if its an upstream issue then direct it there. Perhaps samba should not behave this way and there's a bug causing the timeout to halt data transfer. This could even be fixed in a more recent version of samba which would put the issue back into the Debian realm. I've been trouble free now for days so I'm pretty confident that this was the cause. Thanks for the reply. That's what I would do. In addition, I'd also post this issue at the samba mailing list to get more feedback. First, as you say, samba should not give a time out for a CUPS thingy, that's something for the samba team to look further and run some tests to debug. And secondly, having CUPS enabled by default it can be a matter of taste: some people can argue it is useful while others find not gain at all. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.12.22.16.37...@gmail.com
Re: Samba CUPS connection to localhost:631 timeout causes momentary interrupt in data stream from Samba server to clients
On Mon, 19 Dec 2011 12:32:08 -0500, Jonathan Polom wrote: (...) Why is printing enabled on a system that has no connected printers and doesn't even have CUPS installed? (...) I think that's a Samba default setting and AFAIK, Debian tends to keep the upstream defaults untouched unless there's a very strong and good reason to do it otherwise. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.12.21.18.13...@gmail.com
Samba CUPS connection to localhost:631 timeout causes momentary interrupt in data stream from Samba server to clients
This is an interesting issue. I have a client that runs Voyage Linux (based on Debian) running mpd which I use a network audio player. It accesses a CIFS/SMB share with music files that's served by a device on my network that runs Debian stable with Samba 3.5.6. Every now and then, music playback on the client would halt for around a minute and then resume without any user interaction. My analysis of this issue lead me to conclude that mpd was NOT the cause of this issue. I also experienced this issue on another client when playing music off this share on Windows 7. Nothing suspicious showed up in any system logs (messages, dmesg, kernel, syslog) on the file server. The file server, as stated before, runs up-to-date Debian Stable and is basically just a storage device. There are no printers attached to it and consequently CUPS isn't installed. I finally decided to enable level 2 debug logging on Samba. This helped me out big time. I noticed that whenever the playback stopped, I'd soon see a message in either one of Samba's client-specific logs (log.CLIENT NAME) or log.smbd if Samba wasn't logging to a client log. The messages looked something like this (taken from a log for the Windows 7 client): [2011/12/18 02:21:51.821618, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Connection timed out [2011/12/18 02:21:51.822314, 2] printing/print_cups.c:550(cups_async_callback) cups_async_callback: failed to read a new printer list I saw that, figured connection time outs are never a good thing to see anywhere, and concluded I needed to tell Samba to stop trying to connect to a print server that didn't exist. I edited smb.conf with these lines added to the [global] section to disable printing via Samba: load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes So far, I have not seem a recurrence of the log messages about connections to localhost:631 timing out since disabling printing. I also have not had a random stop in playback of any audio files streamed off a Samba share. It seems this fix worked to solve my problem. So why am I mailing the list about this? Here's why: Why is printing enabled on a system that has no connected printers and doesn't even have CUPS installed? That seems absolutely unnecessary and just ripe for a latent, hard to root cause problem like I had. This needs to be fixed, IMO. Debian, especially stable, is about having a robust operating system without much effort. Either require CUPS (but this causes bloating for file servers that have no attached printers), intelligently deploy a config file based on whether or not CUPS is present or just ask the user at install time if they want to enable printer sharing. Samba should only be performing the functions that the user requires of it -- no unfounded assumptions! I don't recall being asked at install time if I wanted Samba to share my printers. However, before I run off and file a bug report against samba-common (I presume that is the package which supplies the default smb.conf which I based my Samba config off of), I want to find out if this isn't just some known issue with Samba or the default smb.conf that's typically distributed as part of a distribution package. If you are asked at package installation time whether Samba should share printers and I just forgot, that would also be helpful. I guess if this is something that people have just learned and come to accept, it should just be documented somewhere that Samba on Debian, by default, wants to talk to CUPS at localhost:631 which may cause problems if CUPS is not present or traffic is not allowed on that port. I haven't seen this sort of documentation anywhere obvious. Thanks for your help, Jon -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAE5So18FfohDORXnr0TqBnPCATAg_=wrqt8a6ngtjn8srdn...@mail.gmail.com
Samba Server
Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. Desde já agradeço a todos da lista pela atenção.
Re: Samba Server
bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.com escreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção.
Re: Samba Server
Na opção de compartilhamento samba, usa a diretiva force group = grupo Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL – Consultoria e Serviços em TI Em 20 de julho de 2011 11:15, paulo bruck paulobru...@gmail.com escreveu: bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.com escreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção.
Re: Samba Server
Paulo bruck Boa tarde tentei utilizar o comando chmod -R 2770 /caminho/pasta, porem o mesmo bloqueou o acesso dos usuários. Erley Barbosa Acabei de colocar na configuração do smb.conf [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 irei agora fazer o teste. Eden Caldas Acabei de inserir junto a dica do nosso colega Erley a sua dica de acrescentar force group = group, só fiquei com uma duvida devo acrecentar esta opção no arquivo smb.conf no compartimento, como exemplo que segue abaixo: [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 force group = group A todos da lista mais uma vez muito obrigado. Em 20 de julho de 2011 13:03, Eden Caldas edencal...@gmail.com escreveu: Na opção de compartilhamento samba, usa a diretiva force group = grupo Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL – Consultoria e Serviços em TI Em 20 de julho de 2011 11:15, paulo bruck paulobru...@gmail.comescreveu: bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.comescreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção.
Re: Samba Server
ok apenas para efeito de inf vc pode configurar o samba de 3 maneiras: a) usando as permissões de sistema de arquivo b) usando as diretivas do samba c) usando ambos era para fazer na sua pasta chmod 2770 suapasta chgrp grupo suapasta se isto ainda não for suficinete, vc pode instalar o pacote acl ( aptitude install acl), colocar o file system com a opção de acl e com os comandos setfacl e gefacl acertar as permissões do seu sistema de arquivos. ats Em 20 de julho de 2011 14:18, Rafael No rafael.sa...@gmail.com escreveu: Paulo bruck Boa tarde tentei utilizar o comando chmod -R 2770 /caminho/pasta, porem o mesmo bloqueou o acesso dos usuários. Erley Barbosa Acabei de colocar na configuração do smb.conf [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 irei agora fazer o teste. Eden Caldas Acabei de inserir junto a dica do nosso colega Erley a sua dica de acrescentar force group = group, só fiquei com uma duvida devo acrecentar esta opção no arquivo smb.conf no compartimento, como exemplo que segue abaixo: [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 force group = group A todos da lista mais uma vez muito obrigado. Em 20 de julho de 2011 13:03, Eden Caldas edencal...@gmail.com escreveu: Na opção de compartilhamento samba, usa a diretiva force group = grupo Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL – Consultoria e Serviços em TI Em 20 de julho de 2011 11:15, paulo bruck paulobru...@gmail.comescreveu: bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.comescreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção.
RES: Samba Server
Rafael, Veja abaixo como esta a minha configuração do smb.conf: [nome] comment = Compartilhamento path = /home/nome-da-pasta valid users = @nome-do-grupo admin users = root write list = @nome-do-grupo force user = nome-do-usuario force group = nome-do-grupo create mask = 0770 force create mode = 0770 security mask = 0770 force security mode = 0770 directory mask = 0770 force directory mode = 0770 directory security mask = 0770 force directory security mode = 0770 browseable = No Abs, Rogério Naressi De: Rafael No [mailto:rafael.sa...@gmail.com] Enviada em: quarta-feira, 20 de julho de 2011 14:19 Para: Eden Caldas Cc: paulo bruck; debian-user-portuguese Assunto: Re: Samba Server Paulo bruck Boa tarde tentei utilizar o comando chmod -R 2770 /caminho/pasta, porem o mesmo bloqueou o acesso dos usuários. Erley Barbosa Acabei de colocar na configuração do smb.conf [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 irei agora fazer o teste. Eden Caldas Acabei de inserir junto a dica do nosso colega Erley a sua dica de acrescentar force group = group, só fiquei com uma duvida devo acrecentar esta opção no arquivo smb.conf no compartimento, como exemplo que segue abaixo: [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 force group = group A todos da lista mais uma vez muito obrigado. Em 20 de julho de 2011 13:03, Eden Caldas edencal...@gmail.com escreveu: Na opção de compartilhamento samba, usa a diretiva force group = grupo Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL Consultoria e Serviços em TI Em 20 de julho de 2011 11:15, paulo bruck paulobru...@gmail.com escreveu: bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.com escreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/001c01cc470f$890bb870$9b232950$@ipef.br
Re: Samba Server
Sim na opção do compartilhamento. Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL – Consultoria e Serviços em TI Em 20 de julho de 2011 16:01, Rogério Oliveira Naressi roge...@ipef.brescreveu: Rafael, Veja abaixo como esta a minha configuração do smb.conf: [nome] comment = Compartilhamento path = /home/nome-da-pasta valid users = @nome-do-grupo admin users = root write list = @nome-do-grupo force user = nome-do-usuario force group = nome-do-grupo create mask = 0770 force create mode = 0770 security mask = 0770 force security mode = 0770 directory mask = 0770 force directory mode = 0770 directory security mask = 0770 force directory security mode = 0770 browseable = No Abs, Rogério Naressi De: Rafael No [mailto:rafael.sa...@gmail.com] Enviada em: quarta-feira, 20 de julho de 2011 14:19 Para: Eden Caldas Cc: paulo bruck; debian-user-portuguese Assunto: Re: Samba Server Paulo bruck Boa tarde tentei utilizar o comando chmod -R 2770 /caminho/pasta, porem o mesmo bloqueou o acesso dos usuários. Erley Barbosa Acabei de colocar na configuração do smb.conf [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 irei agora fazer o teste. Eden Caldas Acabei de inserir junto a dica do nosso colega Erley a sua dica de acrescentar force group = group, só fiquei com uma duvida devo acrecentar esta opção no arquivo smb.conf no compartimento, como exemplo que segue abaixo: [pasta] path = /caminho/pasta writable = yes browseable = yes valid users = @grupo create mask = 0775 force group = group A todos da lista mais uma vez muito obrigado. Em 20 de julho de 2011 13:03, Eden Caldas edencal...@gmail.com escreveu: Na opção de compartilhamento samba, usa a diretiva force group = grupo Eden Caldas Consultor de TI e...@linuxfacil.srv.br (81) 9653 7220 LINUX FÁCIL – Consultoria e Serviços em TI Em 20 de julho de 2011 11:15, paulo bruck paulobru...@gmail.com escreveu: bom dia Em 20 de julho de 2011 11:00, Rafael No rafael.sa...@gmail.com escreveu: Bom dia a todos da lista. Gostaria de uma ajuda no samba server. Ao configura-lo apenas como servidor de arquivos criei as pastas e grupos aonde gerencio as pasta inserindo ou retirando usuários dos grupos, dei as seguintes permissão: # chgrp -R grupo /caminho/pasta # chmod -R 775 /caminho/pasta Os usuários conseguem acessar os arquivos e modifica-los como esperado, porem tem um contratempo que não estou conseguindo solucionar, quando o usuário joao, por exemplo, modifica o arquivo, os demais usuários não conseguem alterar o arquivo, dai eu entro remotamente no servidor e dou o seguinte comando: # chmod -R 775 /caminho/pasta/arquivo.modificado.pelo.joao Fazendo isso os outros usuários conseguem modifica-los porem assim que o próximo modifica eu tenho que rodar novamente este comando, gostaria de saber como posso estar procedendo com este contratempo. que tal um chmod 2770 ?? ( sgid man chmod - SETUID AND SETGID BITS ) se precisar pode tambem usar as acl do sistema operacional/sistema de arquivos ( setfacl e getfacl) aptitude install acl e ver a doc dele. ats Desde já agradeço a todos da lista pela atenção. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/001c01cc470f$890bb870$9b232950$@ipef.br
Samba server stop working after upgrade
Hello, Our samba server stoped working fine after Lenny upgrade. I can connect using smbclient, but smbtree says: Server requested plaintext password but 'client plaintext auth' is disabled anonymous failed session setup with NT_STATUS_INVALID_PARAMETER We can't access to samba server from MacOS finder, nor from nautilus or konqueror. When upgrading, aptitude ask me to replace smb.conf and I say no as we have it configured with our shares. Any idea? Thanks -- Marc Olivé Grup Blau -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Samba server stop working after upgrade
We solved it, was not about the upgrade, this was just a coincidence. Was another machine that was acting as local master browser. Sorry for the noise -- Marc Olivé Grup Blau -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Samba server nmbd start niet altijd op
David Hartveld schreef: Geert Stappers wrote: Op 20090926 om 15:41 schreef David Hartveld: Beste allemaal, Na het installeren van Lenny op een mooie nieuwe HP server, heb ik ook samba geinstalleerd. Na een korte tijd van gebruik heb ik de server opnieuw opgestart, maar nu start alleen de smbd daemon automatisch na boot, en de nmbd server niet. Dat is natuurlijk niet erg handig. Als ik met de hand invoke-rc.d restart samba (of stop en start) uitvoer, dan start de nmbd daemon wel op. In de samba log files (/var/log/samba/log.nmbd) staat het volgende: [2009/09/26 15:19:18, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/09/26 15:19:18, 0] nmbd/nmbd.c:open_sockets(683) [2009/09/26 15:24:11, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/09/26 15:24:17, 0] nmbd/nmbd.c:terminate(68) Got SIGTERM: going down... Als er een regel met open_sockets in voorkomt, dan crasht de nmbd daemon (eerste 2 log statements). Maar als die regel er niet staat, dan werkt alles naar behoren (laatste 2 statements, terminate is een 'invoke-rc.d samba stop'). Ik heb geprobeerd om in de global configuratie in smb.conf veld 'syslog' op waarde 3 te zetten, maar dan kan ik niet meer informatie in de log files vinden. Heeft iemand een suggestie waar ik naar moet zoeken? Ik ben al jaren gebruiker van debian/samba, maar heb dit nog nooit zo gezien... Nu ben ik benieuwd hoeveel netwerkkaarten de server in kwestie heeft. Er zit 1 netwerkkaart in de server. Deze interface wordt met DHCP geconfigureerd. Doe bij het antwoord a.u.b. /etc/samba/smb.conf Ik kan op dit moment niet fysiek bij de server. Maar de configuratie is in de standaard configuratie zoals die na installatie is, plus een paar share definities en twee extra global directives: 'create mode' en 'directory mode'. Op dit moment heb ik een soort van patch gevonden waardoor de server wel altijd goed lijkt op te starten: Vlak voor het samba init script laat ik een init script draaien dat slechts uit 'sleep 10' bestaat. Ik begin me af te vragen of het ligt aan het feit dat de netwerk interface te laat 'up' is ... Het lijkt inderdaad een soort timing probleem in de init-scripts te zijn als ik je zo hoor. In een lang verleden heb ik ook wel eens een dergelijke noodoplossingen moeten gebruiken. Je zou misschien een regelte met ifconfig /tmp/ifconfig kunnen opnemen voor je sleep-commando, dan kun je in /tmp/ifconfig zien of je interface echt niet up was. Overigens voeg ik vaak nog een regeltje als auto eth0 toe aan mijn /etc/network/interfaces. Die allow-hotplug alleen vertrouw ik toch niet in alle gevallen. (In de praktijk komt het er op neer dat ik dat regeltje alleen toevoeg als ik een probleem zie.) Groet, Paul. -- To UNSUBSCRIBE, email to debian-user-dutch-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Samba server nmbd start niet altijd op
Op 20090926 om 15:41 schreef David Hartveld: Beste allemaal, Na het installeren van Lenny op een mooie nieuwe HP server, heb ik ook samba geinstalleerd. Na een korte tijd van gebruik heb ik de server opnieuw opgestart, maar nu start alleen de smbd daemon automatisch na boot, en de nmbd server niet. Dat is natuurlijk niet erg handig. Als ik met de hand invoke-rc.d restart samba (of stop en start) uitvoer, dan start de nmbd daemon wel op. In de samba log files (/var/log/samba/log.nmbd) staat het volgende: [2009/09/26 15:19:18, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/09/26 15:19:18, 0] nmbd/nmbd.c:open_sockets(683) [2009/09/26 15:24:11, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/09/26 15:24:17, 0] nmbd/nmbd.c:terminate(68) Got SIGTERM: going down... Als er een regel met open_sockets in voorkomt, dan crasht de nmbd daemon (eerste 2 log statements). Maar als die regel er niet staat, dan werkt alles naar behoren (laatste 2 statements, terminate is een 'invoke-rc.d samba stop'). Ik heb geprobeerd om in de global configuratie in smb.conf veld 'syslog' op waarde 3 te zetten, maar dan kan ik niet meer informatie in de log files vinden. Heeft iemand een suggestie waar ik naar moet zoeken? Ik ben al jaren gebruiker van debian/samba, maar heb dit nog nooit zo gezien... Nu ben ik benieuwd hoeveel netwerkkaarten de server in kwestie heeft. Doe bij het antwoord a.u.b. /etc/samba/smb.conf Cheers Geert Stappers -- To UNSUBSCRIBE, email to debian-user-dutch-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
How to resolv samba server names when using Ad-Hoc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello,.. maybe this is the wrong place i will be glad if it will be forwarded to the correct place. On my lpatop i have samba shares (Debian Testing) and the configuration is here : [CODE][global] workgroup = MSHOME netbios name = acerium security = share server string = %h server [iso] path = /mnt/hda2/iso browsable = yes writeable = no guest ok =yes comment = ISO files (mostly debian related) [movies] forceuser = Temp path = /mnt/hda2/movie comment = Guess what ? browsable = yes guest ok=yes writeable = no [download] forceuser = Temp path = /mnt/hda3/download comment = Guess what ? browsable = yes guest ok=yes writeable = no [games] forceuser = Temp path = /mnt/hda2/games comment = Guess what browsable = yes guest ok=yes writeable = no [/CODE] When i work with routers (i get an ip and get all the names from nameservers) i can easily accsed by smb://acerium (servername) or can be checked by smbclient -L //acerium but when i work with Ad-Hoc i can't resolve. when i try to check smb://work_group i get no computers in your workgroup. (from memory maybe it said in diffrent words) maybe it is related to the thing that the samba server isn't the main one . or some thing related to domain master = yes but the problem with that is : (it will interfeare with other NT domain masters.) Thank you in advance.. - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBR1qAEm9p6JnF9I1qAQI+Tw//Sexn6r1LXEHlWC8LnHgAJZA60gIEwZpu /OdReJpnTyVXihHTF19pc1YaagYB32azwr8JqwzYdU/fwWdRivb0Al92hG5hvB3b AQ1Y5KyXtLO871LqwYMKNdh/UtKpiP8c7I8Kv1jN6FOnZ4ZCmWjBo5EnW3Z8XuSh PJl+VnScTW9mVmwjY/CQIUB4ac/WzjSWvtHHtYz7+jo0H9z9KJ4R92Lif5IU977P BHktnk5ziIegvpDLhUpXtEX3E5zf6HKGylb0yZqagY/e94e94nyh0CCkKRF48EOI +ZTIaHTFGOyTdW2ogYREJwxkTbU6CB4VtggizK0O+d3HqgMJJpkNZK7YI1OKYwGs ZsUHeUd9qDWfDHR85VpvQqCk4ND7gVEDe4k94TReUw/PoJ1cVITvAuAjJAiSDKx5 gxm6LQAF0Ats2bZXOYGGh37wz2QNSgB3zObsyV4FZgz2peSHoaAsYakQKNiwlxjG t8xVpa1kUiEmgE2J5hG7BrqbDgzmw6h8QRG6tqzBXS6REcnE2dyu9ITGWMr66FkH qpC9M6O2biOsXGZDnxf077PCvCWzgZdcSMtOXEmnsFuJ8idU5oIj6npHGbY42hdO YQ8jTol0UB5WzGRzODi0w6h8/uoPTDJC3Rms9jqrCjJiOUu1gGByhNmJsSjnGRD+ 8aT66R+ylI0= =U2Oc -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[SOLVED] samba server on debian unusable by Mac client
Adam Hardy on 14/11/07 10:17, wrote: I'm trying to copy files from a Mac running OS X to a Samba share that I have set up on an Etch machine, using samba 3.0.24. The Mac complains that the file name is invalid (for any file even test.txt) and then refuses to copy, and the operation leaves a zero-byte file with the same name on the samba share. It lets me log in nicely through the Mac File Finder. I've spent hours searching the net without any luck at all, and the only reply I could get from the samba mailing list was that I should try running the server with Ubuntu. The samba share works fine from my other linux machine. Has anyone else experienced this? Alternatively, is there another way of accessing a harddrive on my server from a Mac? Found the answer in case anyone is searching this. The mac copies invisible .filename files and my smb.conf file had a veto rule blocking them by default. I removed it and they work fine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
samba server on debian unusable by Mac client
I'm trying to copy files from a Mac running OS X to a Samba share that I have set up on an Etch machine, using samba 3.0.24. The Mac complains that the file name is invalid (for any file even test.txt) and then refuses to copy, and the operation leaves a zero-byte file with the same name on the samba share. It lets me log in nicely through the Mac File Finder. I've spent hours searching the net without any luck at all, and the only reply I could get from the samba mailing list was that I should try running the server with Ubuntu. The samba share works fine from my other linux machine. Has anyone else experienced this? Alternatively, is there another way of accessing a harddrive on my server from a Mac? Thanks Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch / Samba server weirdness
Roberto C. Sánchez wrote: No offense, but that is not a very useful bug report. If you really want to help out, you need to also send the following as a follow-up to the initial bug report: - your related configuration file(s) - commands which produce the strange behavior - excerpts of log files which demonstrate the strange behavior That was 22:45 after several days of banging on the keyboard. We just wanted to give an initial heads up that Samba in Etch is behaving improperly... which it seems (now) is a known fact. Additional details have been posted in the bug report. -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch / Samba server weirdness
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Lueck wrote: Roberto C. Sánchez wrote: No offense, but that is not a very useful bug report. If you really want to help out, you need to also send the following as a follow-up to the initial bug report: - your related configuration file(s) - commands which produce the strange behavior - excerpts of log files which demonstrate the strange behavior That was 22:45 after several days of banging on the keyboard. We just wanted to give an initial heads up that Samba in Etch is behaving improperly... which it seems (now) is a known fact. Additional details have been posted in the bug report. Errr, no. You have posted an url to a 40 pages/4MB pdf presentation that contains some snippets of your configuration. You have *not* posted the actual configuration files, the actual commands, the actual error messages, the actual logs. Johannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGZES2C1NzPRl9qEURAnQ1AJ47iT+q5A5nHUmzNXVcx3+PGeJ6HgCfZLHG q6+1neUGc/pBvfjl4vbd6zA= =RhWa -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Etch / Samba server weirdness
I am noticing weirdness testing Etch / Samba. Specifically: 1) Wrong / Missing Windows group memberships (domain groups, etc...) 2) Inability to use the 'net' command to assign the permission to add workstations to the domain for a special account 3) Inability to make the domain admin group printer admins with the net command I just now booted off a HDD in the same machine loaded with Sarge, installed the 3.0.24 packages from samba.org, and following the same steps received the expected results. Unfortunately we do not have time to look into this further as we are doing a demonstration of Samba for Windows clients next weekend... so defniately taking the Sarge HDD along, and planning to load Ubuntu Server 7.04 on the HDD currently with Debian Etch. We also filed a bug report at the following URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427444 -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Etch / Samba server weirdness
On Sun, Jun 03, 2007 at 11:11:55PM -0400, Michael Lueck wrote: 1) Wrong / Missing Windows group memberships (domain groups, etc...) 2) Inability to use the 'net' command to assign the permission to add workstations to the domain for a special account 3) Inability to make the domain admin group printer admins with the net command SNIP We also filed a bug report at the following URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427444 No offense, but that is not a very useful bug report. If you really want to help out, you need to also send the following as a follow-up to the initial bug report: - your related configuration file(s) - commands which produce the strange behavior - excerpts of log files which demonstrate the strange behavior Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Joining an Etch AMD64 Samba server to an existing Windows2003 Domain
Im hoping someone can give me a clue what I am doing wrong here, Running Etch (AMD64), I followed the samba wiki at: http://wiki.samba.org/index.php/Samba__Active_Directory#Prerequisites. I get mostly good results, except when I try to run getent passwd or getent group only local users/groups are listed. I was able to join the domain: net ads join U admin_user The system shows up in AD under computers on the PDC. Afterwards if I do wbinfo u, wbinfo g, wbinfo p, wbinfo t, wbinfo a ad_user%password - All of those appear to work correctly. This however seems somewhat fishy, it says Active Directory: No: wbinfo -D domain.com Name : DOMAIN Alt_Name : DOMAIN.COM SID : S-XX Active Directory : No Native : No Primary : Yes Sequence : 2008 My nsswitch.conf looks correct: passwd: files winbind shadow: files winbind group: files winbind hosts: files dns wins Anyone have some idea of what I am doing wrong? Or where I should start looking? The log info for Winbind looks acceptable with no blatant errors as far as I can tell. -Jeff
Re: Joining an Etch AMD64 Samba server to an existing Windows2003 Domain
On Fri, 2007-04-27 at 09:25 -0700, Jeff Thurston wrote: I’m hoping someone can give me a clue what I am doing wrong here, Running Etch (AMD64), I followed the samba wiki at: http://wiki.samba.org/index.php/Samba__Active_Directory#Prerequisites. I get mostly good results, except when I try to run ‘getent passwd’ or ‘getent group’ only local users/groups are listed. I was able to join the domain: net ads join –U admin_user The system shows up in AD under computers on the PDC. Afterwards if I do wbinfo –u, wbinfo –g, wbinfo –p, wbinfo –t, wbinfo –a ad_user%password - All of those appear to work correctly. This however seems somewhat fishy, it says “Active Directory: No”: ‘wbinfo -D domain.com’ Name : DOMAIN Alt_Name : DOMAIN.COM SID : S-XX Active Directory : No Native: No Primary : Yes Sequence : 2008 My nsswitch.conf looks correct: passwd: files winbind shadow: files winbind group: files winbind hosts: files dns wins Anyone have some idea of what I am doing wrong? Or where I should start looking? The log info for Winbind looks acceptable with no blatant errors as far as I can tell. You are missing the kerberos setup. It is hard to e-mail advice, but you need to get a proper ticket issues for the admin user (in AD that is) as the admin user for samba and then join it. Kerberos is not for the faint of heart. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup signature.asc Description: This is a digitally signed message part
RE: Joining an Etch AMD64 Samba server to an existing Windows2003Domain
I am assuming there is more to it than just configuring krb5.conf? When I run kinit -V username it tells me Authenticated to Kerberos v5 Can you recommend where to start reading up on how to go about issuing a ticket on the AD server? You would think that all of the howto docs out there would mention this step. Thanks Greg, -Jeff. -Original Message- From: Greg Folkert [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 11:22 AM To: debian-user@lists.debian.org Subject: Re: Joining an Etch AMD64 Samba server to an existing Windows2003Domain On Fri, 2007-04-27 at 09:25 -0700, Jeff Thurston wrote: I'm hoping someone can give me a clue what I am doing wrong here, Running Etch (AMD64), I followed the samba wiki at: http://wiki.samba.org/index.php/Samba__Active_Directory#Prerequisites. I get mostly good results, except when I try to run 'getent passwd' or 'getent group' only local users/groups are listed. I was able to join the domain: net ads join -U admin_user The system shows up in AD under computers on the PDC. Afterwards if I do wbinfo -u, wbinfo -g, wbinfo -p, wbinfo -t, wbinfo -a ad_user%password - All of those appear to work correctly. This however seems somewhat fishy, it says Active Directory: No: 'wbinfo -D domain.com' Name : DOMAIN Alt_Name : DOMAIN.COM SID : S-XX Active Directory : No Native: No Primary : Yes Sequence : 2008 My nsswitch.conf looks correct: passwd: files winbind shadow: files winbind group: files winbind hosts: files dns wins Anyone have some idea of what I am doing wrong? Or where I should start looking? The log info for Winbind looks acceptable with no blatant errors as far as I can tell. You are missing the kerberos setup. It is hard to e-mail advice, but you need to get a proper ticket issues for the admin user (in AD that is) as the admin user for samba and then join it. Kerberos is not for the faint of heart. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gespiegelte Samba-Server
Andreas Kretschmer wrote: Klingt nach http://www.drbd.org/ Es gibt einiges an HOWTO's zu dem Thema. Danke, genau das habe ich gesucht! -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
gespiegelte Samba-Server
Hat jemand eine Idee, wie ich am besten zwei gespiegelte Samba-Server realisieren kann? Eine Datei sollte dann immer auf zwei Servern gespeichert werden, also vom einen auf den anderen durchgereicht werden. Beim Ausfall eines Servers (Hardware-Defekt) sollte dann der andere aktiv werden und alles übernehmen, und der Benutzer möglichst nix oder fast nichts mitkriegen. mfg Chrissie. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: gespiegelte Samba-Server
am 06.06.2006, um 22:05:34 +0200 mailte Chrissie Brown folgendes: Hat jemand eine Idee, wie ich am besten zwei gespiegelte Samba-Server realisieren kann? Eine Datei sollte dann immer auf zwei Servern gespeichert werden, also vom einen auf den anderen durchgereicht werden. Beim Ausfall eines Servers (Hardware-Defekt) sollte dann der andere aktiv werden und alles übernehmen, und der Benutzer möglichst nix oder fast nichts mitkriegen. Klingt nach http://www.drbd.org/ Es gibt einiges an HOWTO's zu dem Thema. Andreas -- Andreas Kretschmer(Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net ===Schollglas Unternehmensgruppe=== -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: hard links auf samba server
Am Dienstag, 25. April 2006 19:29 schrieb Thorsten Haude: Moin, HI, Ich würde sagen: Also ist OOo die bessere Wahl. Ja. Aber man weiss ja nie wie sich andere Progs verhalten. Es gibt ja nicht nur nur Office-Programme ;-) Thorsten -- Mit freundlichen Gruessen Orlando Rose
Re: hard links auf samba server
Am Dienstag 25 April 2006 08:55 schrieb Orlando Rose: Also sollten Softlinks die bessere Wahl sein. Nicht zwangsläufig. Softlinks haben den Nachteil, das sie brechen wenn die Datei auf die sie verweisen gelöscht wird (bei einem Hardlink bleibt die Datei ja vorhanden). Es bleibt dabei. Je nach Einsatzszenario wählt man die richtige Sorte Links und das richtige Programm (das da mal ein M$-Office Tool dabei ist ist dann wohl eher selten) Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
Re: hard links auf samba server
Am 2006-04-22 12:35:35, schrieb Matthias Taube: Thorsten Haude schrieb: Ich vermute , daß Du da wenig machen kannst. Auf Windows gibt es keine Hardlinks, also hält die Applikationen niemand davon ab, einfach eine neue Datei anzulegen, wenn man das mal gerade haben will. eigentlich sollte das nicht auf der Client- sondern auf der Serverseite gelöst werden. Ich kenne aber jede menge Windowsprogramme, die Dateien nicht direkt editieren, sondern Temporäre dateien anlegen und nach getaner arbeit umbenenen auf den original namen, womit du dann zwei inodes bekommst. Ich hatte mir vorgestellt wenn der Client die Datei ändert, dass dann beim Schreibzugriff auf dem Server alle korrespondierenden Hardlinks erhalten bleiben (d.h. alle instanzen der Datei werden geändert). Da haste ein eigenartiges setup, denn wenn der WinRechner auf densamba zugreift und die datei wegmacht, sollten alle anderen hardlinks ebenfals verschwinden. Denke das da ein problem mit deinem Linux-Setup ist. Oder samba die Dateien Unlinkt. Aber das geht wohl so nicht? mfg Matthias Taube Greetings Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: hard links auf samba server
Am Montag 24 April 2006 13:42 schrieb Michelle Konzack: Da haste ein eigenartiges setup, denn wenn der WinRechner auf densamba zugreift und die datei wegmacht, sollten alle anderen hardlinks ebenfals verschwinden. Wie kommst Du denn auf so eine Idee? Wenn ein hardlink gelöscht wird geht doch nur der Verzeichniseintrag flöten und der Linkzähler wird um eins verringert. Das wäre ja noch schöner, wenn man sich so mit Samba selber in den Fuß schießen würde. Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
Re: hard links auf samba server
Das hat aber mit dem Dateisystem nix zu tun. Wenn da die Datei geändert wird, ändern sich alle (virtuellen/verlinkten) Dateien. Wird ein Link gelöscht und mit einer neuen Datei ersetzt ändert sich eben nur diese Datei. Ok. ich habs mal getestet. Samba-Freigabe; Zugriff Windows Ich hab zum Spass 2 Dateien genommen 1 OO und 1 Word jeweils ein soft und ein hardlink erstellt Jetzt kommts: bei OO: egal ob soft oder hard, die Änderungen sind überall bei Word: die Änderungen sind nur im soft Also löscht Word die Datei und erstellt sie neu. Also sollten Softlinks die bessere Wahl sein. Ich muss dazu sagen das war Word2003, diese Office Version ist sowieso eigenartig. Wenn ich z.B. eine Excel Datei von einer SambaFreigabe öffne und ohn Änderung einfach nur schliesse,ändert er mir den Timestamb der Datei,bei Office 97 war das nicht. Naja noch ein Grund mehr auf OpenOffice zu migrieren ;-) Gruß Chris -- Mit freundlichen Gruessen Orlando Rose
Re: hard links auf samba server
Moin, * Orlando Rose wrote (2006-04-25 08:55): Ich hab zum Spass 2 Dateien genommen 1 OO und 1 Word jeweils ein soft und ein hardlink erstellt Jetzt kommts: bei OO:egal ob soft oder hard, die Änderungen sind überall bei Word: die Änderungen sind nur im soft Also löscht Word die Datei und erstellt sie neu. Also sollten Softlinks die bessere Wahl sein. Ich würde sagen: Also ist OOo die bessere Wahl. Thorsten -- If you don't claim your humanity, you will become a statistic. - Tyler Durden pgpcjPRj5GEWw.pgp Description: PGP signature
Re: hard links auf samba server
Am Samstag 22 April 2006 12:35 schrieb Matthias Taube: Ich hatte mir vorgestellt wenn der Client die Datei ändert, dass dann beim Schreibzugriff auf dem Server alle korrespondierenden Hardlinks erhalten bleiben (d.h. alle instanzen der Datei werden geändert). Wenn der Client die Datei ändert, wird das wohl auch so funktionieren, da Samba auf der Linux-Kiste ja vermutlich auch nur die Änderung an der Datei (an dem Inode) macht. Wenn das Win-Prog aber die Änderung derart durchführt, das es die Datei erst löscht (dann wird im ext3 halt der hardlink entfernt) und dann eine neue mit gleichem Namen anlegt (was auf Dateisystemen ohne hardlinks ja das gleiche Resultat erzeugt) ist Samba machtlos. Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
Re: hard links auf samba server
Am Montag, 24. April 2006 08:44 schrieb Christian Frommeyer: Wenn der Client die Datei ändert, wird das wohl auch so funktionieren, da Samba auf der Linux-Kiste ja vermutlich auch nur die Änderung an der Datei (an dem Inode) macht. Wenn das Win-Prog aber die Änderung derart durchführt, das es die Datei erst löscht (dann wird im ext3 halt der hardlink entfernt) und dann eine neue mit gleichem Namen anlegt (was auf Dateisystemen ohne hardlinks ja das gleiche Resultat erzeugt) ist Samba machtlos. Gruß Chris Hi, ist es denn nicht so, dass wenn 2 (oder mehr) hardlinks für eine datei existieren und ich die datei über einen der hardlinks bearbeite,dass eine automatisch neue datei errstellt werden muss,da ja der andere hardlink noch auf meine original datei zeigt. wenn der alle ändern soll,muss doch ein softlink benutzt werden. Ich nutze das für mein Backup. Da kann ich 20 Backups zurück gehen, und nutze dank hardlinks nur ca. 120% platz der Original Daten. Wenn eine Datei geändert wird, existiert ein (oder mehere) hl zu der alten version und einer zur neuen version. d.h. die datei ist physisch erst nach dem ändern 2mal auf der platte (mit gleichem Namen in verschiedenen Verzeichnissen) Ansonsten sind z.B.: datei1 in backup1 in backup2 in backup3 als hl, wobei nur einmal der platz datei1 benötigt wird. -- Mit freundlichen Gruessen Orlando
Re: hard links auf samba server
Am Montag 24 April 2006 10:10 schrieb Orlando Rose: ist es denn nicht so, dass wenn 2 (oder mehr) hardlinks für eine datei existieren und ich die datei über einen der hardlinks bearbeite,dass eine automatisch neue datei errstellt werden muss,da ja der andere hardlink noch auf meine original datei zeigt. wenn der alle ändern soll,muss doch ein softlink benutzt werden. Jein. Ob eine neue Datei angelegt werden muss, entscheidet die Logik des Programms. Es kann ja durchaus wünschenswert sein, das mehrere Dateien (z.B. in unterschiedlichen Verzeichnissen) immer konsistent die selben sind. Wenn es nur darum geht Platz zu sparen, dann muss hier natürlich ein anderes Vorgehen gewählt werden. Ich nutze das für mein Backup. Da kann ich 20 Backups zurück gehen, und nutze dank hardlinks nur ca. 120% platz der Original Daten. Genau. Da erfordert es die Semantik des Backups, das eine Kopie gemacht wird. Das hat aber mit dem Dateisystem nix zu tun. Wenn da die Datei geändert wird, ändern sich alle (virtuellen/verlinkten) Dateien. Wird ein Link gelöscht und mit einer neuen Datei ersetzt ändert sich eben nur diese Datei. Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
hard links auf samba server
Hi, ich habe einen Server mit ext3 Dateisystem, der das Verzeichnis per samba freigibt. Auf dem Verzeichnis befinden sich verknüpfte Dateien (hardlink). Wenn ich nun versuche über den Clienten ein Datei zu ändern, wird aus dem Hardlink eine Kopie (neuer inode), d.h. die Änderung wird nicht an allen Instanzen der Datei wirksam, sondern nur lokal an der gerade geänderten. Wie kann ich erreichen, das hardlinks auch tatsächlich hardlinks bleiben, und nicht plötzlich zu mehreren voneinander abweichenden Dateien werden? mfg Matthias Taube -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: hard links auf samba server
Moin, * Matthias Taube wrote (2006-04-22 10:43): Auf dem Verzeichnis befinden sich verknüpfte Dateien (hardlink). Wenn ich nun versuche über den Clienten ein Datei zu ändern, wird aus dem Hardlink eine Kopie (neuer inode), d.h. die Änderung wird nicht an allen Instanzen der Datei wirksam, sondern nur lokal an der gerade geänderten. Wie kann ich erreichen, das hardlinks auch tatsächlich hardlinks bleiben, und nicht plötzlich zu mehreren voneinander abweichenden Dateien werden? Ich vermute , daß Du da wenig machen kannst. Auf Windows gibt es keine Hardlinks, also hält die Applikationen niemand davon ab, einfach eine neue Datei anzulegen, wenn man das mal gerade haben will. Thorsten -- War is God's Way to teach geography to Americans. pgpApNDEBhTBK.pgp Description: PGP signature
Re: hard links auf samba server
Hallo Thorsten, Thorsten Haude, 22.04.2006 (d.m.y): Ich vermute , daß Du da wenig machen kannst. Auf Windows gibt es keine Hardlinks, Die aktuelle c't behauptet das Gegenteil. also hält die Applikationen niemand davon ab, einfach eine neue Datei anzulegen, wenn man das mal gerade haben will. Soweit ich den c't-Artikel verstanden habe, kann Windows Hardlinks nur auf NTFS anlegen. Ich lasse mich aber gerne vom Gegenteil ueberzeugen... Gruss, Christian Schmidt -- Grausamkeit empört, Dummheit entmutigt. -- Albert Camus signature.asc Description: Digital signature
Re: hard links auf samba server
Thorsten Haude schrieb: Ich vermute , daß Du da wenig machen kannst. Auf Windows gibt es keine Hardlinks, also hält die Applikationen niemand davon ab, einfach eine neue Datei anzulegen, wenn man das mal gerade haben will. eigentlich sollte das nicht auf der Client- sondern auf der Serverseite gelöst werden. Ich hatte mir vorgestellt wenn der Client die Datei ändert, dass dann beim Schreibzugriff auf dem Server alle korrespondierenden Hardlinks erhalten bleiben (d.h. alle instanzen der Datei werden geändert). Aber das geht wohl so nicht? mfg Matthias Taube -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: hard links auf samba server
Moin, * Matthias Taube wrote (2006-04-22 12:35): Thorsten Haude schrieb: Ich vermute , daß Du da wenig machen kannst. Auf Windows gibt es keine Hardlinks, also hält die Applikationen niemand davon ab, einfach eine neue Datei anzulegen, wenn man das mal gerade haben will. eigentlich sollte das nicht auf der Client- sondern auf der Serverseite gelöst werden. Ich kann mir nicht vorstellen, daß der Server da Hand anlegt. Versuch doch mal mit einem Linuxklienten herauszubekommen, ob es daran liegt. Ich hatte mir vorgestellt wenn der Client die Datei ändert, dass dann beim Schreibzugriff auf dem Server alle korrespondierenden Hardlinks erhalten bleiben (d.h. alle instanzen der Datei werden geändert). Aber das geht wohl so nicht? Nicht, wenn das Programm das verhindert. Thorsten -- So this is what we're sacrificing liberty for: a phenomenon that is typically less than 0.1% of the threat from auto accidents, and didn't even break 10% in the worst year ever. - e_lehman pgpZAjKoWqKVz.pgp Description: PGP signature
Re: Kernel mit Dateien auf Samba-Server compilieren
Hallo Mathias, Am 2005-10-25 21:21:18, schrieb Matthias Taube: Hi, Eingebunden ist der Server in fstab mit //server/data /home/data cifs rw,uid=mati,gid=mati,user=mati,password=xxx welche Rechte fehlen dem make denn da noch? Du kannst auf nem Sambaserver (der ja sowas wie FAT macht) nicht compilieren, da samba in diesem sinne keine UNIX-Rechte setzen kann. mfg Matthias Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Kernel mit Dateien auf Samba-Server compilieren
Hi, ich scheitere hier an der Aufgabe, einen Kernel, dessen Sourcen auf einem entfernten Samba-Server liegen, zu compilieren. Compilieren tue ich als User mati mit make-kpkg --rootcmd fakeroot kernel_image --append_to_version -mati --revision=$VERSION $HOME/kernel.log Das ganze bricht immer mit Kein Paket gefunden, das auf kernel-source-2.6.12 passt. install: kann Verzeichnis „debian/tmp-image/DEBIAN“ nicht anlegen: Keine Berechtigung make[1]: *** [real_stamp_image] Fehler 1 ab. Das betreffende Verzeichnis hat die Rechte drwxrwxr-x 2 mati users0 2005-10-25 20:24 tmp-image und zwar auf dem Client wie auf dem Server. Eingebunden ist der Server in fstab mit //server/data /home/data cifs rw,uid=mati,gid=mati,user=mati,password=xxx welche Rechte fehlen dem make denn da noch? mfg Matthias -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
samba-server als domänenmitglied funktionert nicht ganz
Hallo, ich will einen samba-server in eine Win2k Domäne einbinden (auf DC läuft ADS). Dazu habe ich bis jetzt folgendes gemacht: Samba, Winbind und krb5 Pakete installiert. Inhalt krb5.conf: [libdefaults] default_realm = LOKALE.DOMÄNE [realms] LOKALE.DOMÄNE={ kdc = IP.DES.DC admin_server = IP.DES.DC } [domain_realm] .lokale.domäne = LOKALE.DOMÄNE lokale.domäne = LOKALE.DOMÄNE Inhalt smb.conf [global] workgroup = LOKALE.DOMÄNE realm = LOKALE.DOMÄNE security = ADS password server = IP.DES.DC winbind separator = + idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes template homedir = /home/ads/%U template shell = /bin/bash Danach hab ich kinit Administrator ausgeführt (mit Passworteingabe). Klist hat mir das gültige Ticket ausgespuckt. Den Rechner in die Domäne aufzunehmen hat mit: net ads join -U Administrator auch funktioniert. Das Computerkonto erscheint auf dem DC. Das Problem ist, nach dem ersten Neustart hat sich der Rechnername in RECHNERNAME.LOKALE.DOMÄNE geändert und ich kann mich nicht mehr anmelden (weder mit lokalen Usern noch mit Usern aus der Domäne). Was läuft da falsch? Hat jemand eine Idee?
Re: samba server
is there a relation between my problem and a configuration of common-auth in /etc/pam.d/, or common-passwd? Cause i did all advices that u told me but it doesnt work... Thank you, Guillaume On 5/17/05, chuchyyy [EMAIL PROTECTED] wrote: here is my ldif file : dn: cn=admin,dc=netc,dc=net objectclass: sambaSamAccount cn: admin o: netc uid : 0 mail: [EMAIL PROTECTED] sn: Administrateur then ldapadd. id admin doesnt seem to work... My computer is in my LDAP yet. all permissions are good. Even more than 644... thx for your patience, Guillaume On 5/17/05, Mark Roach [EMAIL PROTECTED] wrote: chuchyyy wrote: Yea that's right. But i can connect to the LDAP server with this administrator. I can create account with smbldap-useradd -a. How can i say to the LDAP server and Samba that the user is the administrator to use for connect Windows to the domain? My samba.schema is in my slapd.conf. The only way a user can add computer accounts to the domain is if that user's uidNumber=0. So it seems like there are two things you need to do: 1: Create a user account with uid: 0, objectClass: sambaSAMAccount 2: Ensure that that user is visible through 'id username' 3: Make sure that that account has permissions to write to the LDAP tree, (whoops that was three) There are a variety of reasons why your users are not showing up to the system. The main places to check though, are your /etc/libnss-ldap.conf and the slapd.conf permissions Assuming your ldap server is on the local machine, all libnss-ldap.conf needs to have in it is: host 127.0.0.1 base dc=yourdomain,dc=com ldap_version 3 also, make sure the permissions on libnss-ldap.conf are -rw-r--r-- -Mark
Re: samba server
chuchyyy wrote: is there a relation between my problem and a configuration of common-auth in /etc/pam.d/, or common-passwd? Cause i did all advices that u told me but it doesnt work... Nope. PAM is for authentication. NSS is like DNS for user IDs On 5/17/05, chuchyyy [EMAIL PROTECTED] wrote: here is my ldif file : dn: cn=admin,dc=netc,dc=net objectclass: sambaSamAccount cn: admin o: netc uid : 0 mail: [EMAIL PROTECTED] sn: Administrateur then ldapadd. Ahh. This is not a posixAccount. NSS is going to be looking for posixAccount objects. Here's an example of an account: dn: uid=Administrator,ou=People,dc=dev,dc=com cn: Administrator objectClass: inetOrgPerson objectClass: sambaSamAccount objectClass: posixAccount objectClass: shadowAccount gidNumber: 512 uid: Administrator uidNumber: 0 homeDirectory: /home/Administrator sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaHomeDrive: H: sambaPrimaryGroupSID: S-1-5-21-36851585-1427149615-4264512839-512 sambaSID: S-1-5-21-36851585-1427149615-4264512839-2996 loginShell: /bin/false gecos: Netbios Domain Administrator userPassword:: sn: System Administrator displayName: System admin sambaPwdCanChange: 2004901635 sambaPwdMustChange: 2147483647 sambaLMPassword: sambaNTPassword: sambaPasswordHistory: sambaPwdLastSet: 2004901635 sambaAcctFlags: [U ] Keep in mind, there is no need for your Admin account to be your main ldap admin account. I have never tried making that account into a posix/samba user. -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba server
Hi and thx for ur response, i changed the name of my admin in all configurations files. I referred him to as root. I added root as a pozixAccount. Here is my result : sambaLMPassword F0D412BD764FFE81AAD3B435B51404EE sambaPrimaryGroupSIDS-1-5-21-634357371-4061345844-4009714039-513 displayName System User sambaLogonScriptroot.cmd objectClass top objectClass inetOrgPerson objectClass posixAccount objectClass shadowAccount objectClass sambaSamAccount userPassword[EMAIL PROTECTED] sambaHomeDrive H: sambaLogonTime 0 uid root uidNumber 1041 cn root sambaLogoffTime 2147483647 sambaPwdLastSet 1116359748 sambaAcctFlags [U] loginShell /bin/bash gidNumber 513 sambaPwdMustChange 1124913348 sambaNTPassword 209C6174DA490CAEB422F3FA5A7AE634 sambaPwdCanChange 0 gecos System User sambaSIDS-1-5-21-634357371-4061345844-4009714039-3082 description System User homeDirectory /home/root sambaKickoffTime2147483647 sn root Then NSS must, as u told me, search this posix account for joining the domain samba. Another thing : i got a problem joining my windows com to the LDAP : smbldap-useradd test5$ pdbedit -a -m -u test5$ says that the account cannot be found cause the sambaSID is missing... Perhaps that's why i cannot join the samba domain too ! On 5/18/05, Mark Roach [EMAIL PROTECTED] wrote: chuchyyy wrote: is there a relation between my problem and a configuration of common-auth in /etc/pam.d/, or common-passwd? Cause i did all advices that u told me but it doesnt work... Nope. PAM is for authentication. NSS is like DNS for user IDs On 5/17/05, chuchyyy [EMAIL PROTECTED] wrote: here is my ldif file : dn: cn=admin,dc=netc,dc=net objectclass: sambaSamAccount cn: admin o: netc uid : 0 mail: [EMAIL PROTECTED] sn: Administrateur then ldapadd. Ahh. This is not a posixAccount. NSS is going to be looking for posixAccount objects. Here's an example of an account: dn: uid=Administrator,ou=People,dc=dev,dc=com cn: Administrator objectClass: inetOrgPerson objectClass: sambaSamAccount objectClass: posixAccount objectClass: shadowAccount gidNumber: 512 uid: Administrator uidNumber: 0 homeDirectory: /home/Administrator sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaHomeDrive: H: sambaPrimaryGroupSID: S-1-5-21-36851585-1427149615-4264512839-512 sambaSID: S-1-5-21-36851585-1427149615-4264512839-2996 loginShell: /bin/false gecos: Netbios Domain Administrator userPassword:: sn: System Administrator displayName: System admin sambaPwdCanChange: 2004901635 sambaPwdMustChange: 2147483647 sambaLMPassword: sambaNTPassword: sambaPasswordHistory: sambaPwdLastSet: 2004901635 sambaAcctFlags: [U ] Keep in mind, there is no need for your Admin account to be your main ldap admin account. I have never tried making that account into a posix/samba user. -Mark
samba server
Hi all ! i ve got a problem. Im running open LDAP with samba server. I have an LDAPadministrator which is referred to as admin. i added my computer windows 2K to LDAP with smbldap-useradd -w from smbldap-tools. Now i can't join the samba server with admin. it says that unknown user name or bad password. I put the passwd of the administrator in secrets.tdb yet. dunno what to do ! Help me plz Cheers, Guillaume
Re: samba server
On Tue, 2005-05-17 at 11:26 -0400, chuchyyy wrote: i ve got a problem. Im running open LDAP with samba server. I have an LDAPadministrator which is referred to as admin. i added my computer windows 2K to LDAP with smbldap-useradd -w from smbldap-tools. Now i can't join the samba server with admin. it says that unknown user name or bad password. From the samba system, what does id admin give you? It should give something like this: ~# id Administrator uid=0(root) gid=512(Domain Admins) groups=0(root) Yup, you saw that right, uid=0. This is necessary unless you are using samba 3.0.11+ with privileges. if instead, it says no such user this means you need to install libnss-ldap, and modify /etc/nsswitch.conf to have the lines: passwd: compat ldap group: compat ldap -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba server
Hi Mark, thx for your response ! I tried id admin : no such user like u said. I had already install libnss-ldap, but i had files ldap for passwd and group. but id admin still doesnt work. id root says: uid=0(root) gid=0(root) groups=0(root) But the LDAP administrator is admin not root ... i dont understand why... Cheers, Guillaume On 5/17/05, Mark Roach [EMAIL PROTECTED] wrote: On Tue, 2005-05-17 at 11:26 -0400, chuchyyy wrote: i ve got a problem. Im running open LDAP with samba server. I have an LDAPadministrator which is referred to as admin. i added my computer windows 2K to LDAP with smbldap-useradd -w from smbldap-tools. Now i can't join the samba server with admin. it says that unknown user name or bad password. From the samba system, what does id admin give you? It should give something like this: ~# id Administrator uid=0(root) gid=512(Domain Admins) groups=0(root) Yup, you saw that right, uid=0. This is necessary unless you are using samba 3.0.11+ with privileges. if instead, it says no such user this means you need to install libnss-ldap, and modify /etc/nsswitch.conf to have the lines: passwd: compat ldap group: compat ldap -Mark
Re: samba server
chuchyyy wrote: Hi Mark, thx for your response ! I tried id admin : no such user like u said. I had already install libnss-ldap, but i had files ldap for passwd and group. but id admin still doesnt work. id root says: uid=0(root) gid=0(root) groups=0(root) But the LDAP administrator is admin not root ... i dont understand why... OK, I think I know what the problem is. The admin account that you are logging in as is probably not a posixAccount. It's probably the one that debian sets up by default, cn=admin,dc=yourdomain,dc=com, right? That isn't a real system user. It sounds as though your ldap directory does not yet contain posix/samba user accounts... plugTry my app edsadmin (http://edsadmin.sf.net) to connect to your ldap server and create accounts./plug *You'll need to make sure your slapd.conf includes the samba.schema* -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: samba server
here is my ldif file : dn: cn=admin,dc=netc,dc=net objectclass: sambaSamAccount cn: admin o: netc uid : 0 mail: [EMAIL PROTECTED] sn: Administrateur then ldapadd. id admin doesnt seem to work... My computer is in my LDAP yet. all permissions are good. Even more than 644... thx for your patience, Guillaume On 5/17/05, Mark Roach [EMAIL PROTECTED] wrote: chuchyyy wrote: Yea that's right. But i can connect to the LDAP server with this administrator. I can create account with smbldap-useradd -a. How can i say to the LDAP server and Samba that the user is the administrator to use for connect Windows to the domain? My samba.schema is in my slapd.conf. The only way a user can add computer accounts to the domain is if that user's uidNumber=0. So it seems like there are two things you need to do: 1: Create a user account with uid: 0, objectClass: sambaSAMAccount 2: Ensure that that user is visible through 'id username' 3: Make sure that that account has permissions to write to the LDAP tree, (whoops that was three) There are a variety of reasons why your users are not showing up to the system. The main places to check though, are your /etc/libnss-ldap.conf and the slapd.conf permissions Assuming your ldap server is on the local machine, all libnss-ldap.conf needs to have in it is: host 127.0.0.1 base dc=yourdomain,dc=com ldap_version 3 also, make sure the permissions on libnss-ldap.conf are -rw-r--r-- -Mark
Re: Samba-Server sichtbar machen
Hoppa Gerhard und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 22:30 meinte Gerhard Brauer u. a.: Ich weiss nicht, warum du mir auf meine andere Mail per PM antwortest, aber egal... Das war ein versehen... vergass die Adresse von Dir zu löschen und die Adresse von Debian einzufügen. Stand ist, das ein smbclient -L auf dem Server sowohl den Server selbst und auch den XP-Client zeigt. Ein telnet $IP_SERVER 139 baut eine Verbindung zum Samba-Server auf. Die grundlegende Netzverbindung ist also gewaehrleistet. Das ist gut. net view /WORKGROUP:$NAME_DEINER_ARBEITSGRUPPE sollte alle Rechner in der Gruppe/Domaene anzeigen bzw. net view /domain:aritamba bringt: Befehl ausgeführt und als Ergebnis 1 Rechner (die XP Mühle) Ich schrieb allerdings /WORKGROUP (ausser die Syntax waere bei XP anders als bei meinem Win98). Ein net view /workgroup:... bringt die Meldung, das die Syntax nicht stimmt und als Beispiel u. a. das mit der Domäne. net view \\$(NETBIOS|NAME)_DEINES_SAMBA_SERVERS sollte den Samba und die Shares anzeigen. net view \\samba kommt Systemfehler 53 der Netzwerkpfad wurde nicht gefunden. Dann stimmt deine Namensaufloesung in deinem Netz nicht (kein Nameserver oder die Eintraege in der hosts-Datei sowohl auf dem Server wie auch dem Client). Ohne Nameserver muessen bei beiden Rechnern in den hosts alle Rechner im Netz aufgefuehrt werden, und am besten auch in den entsprechenden lmhosts Dateien. Solange darfst du nur mit IP-Adressen arbeiten. OK, die Einträge könnte ich sicher vornehmen, jedoch bringt mir dann der DHCP nichts mehr, oder irre ich? Gibt es da vielleicht noch andere Möglichkeiten das ganze zum Laufen zu bekommen, inkl. dem DHCP von meinem DSL Router? Funktioniert denn vom XP-Dingens ein net view \\IP_ADRESSE_SERVER Leider nein: D:\Dokumente und Einstellungen\Sebastian Dellitnet view \\192.168.1.2 Systemfehler 53 aufgetreten. Der Netzwerkpfad wurde nicht gefunden. Zum ultimativen Test bitte am Server (als root): a) cd /tmp b) mkdir test c) chmod a+rwx test Folgendes in die smb.conf eintragen: [Test] path = /tmp/test comment = Testdir writeable = yes Dann Samba-Dienst neu starten. Habe ich alles gemacht, spielt es hierbei eine Rolle, wo ich die Einträge genau in der .conf vornehme? Auf der XP-Kiste(Kommanozeile): net view \\IP_ADRESSE_SERVER sollte dir u.a. die neue Freigabe Test anzeigen. Leider der gleiche Fehler wie oben. Dann ein net use y: \\$IP_ADRESSE_SERVER\Test sollte unter LW Y den Testordner zur Verfuegung stellen. Das gelingt aber nur, wenn du unter XP mit dem gleichen Benutzernamen angemeldet bist den du auch mit smbpasswd eingetragen hast. Ansonsten duerfte irgendein Fehler kommen wie nicht erlaubt oder so. Das haette dann aber mit den Samba-Konfiguration zu tun (zu der Dokumentaion existiert) und nichts mehr mit Netzproblemen. Auch der o. g. Fehler :-( Wie gesagt, abgesehen von Name-Server Problemen denke ich, das die grundlegende Netbios-Geschichte funktioniert. OK, mal sehen ob das hier irgendwann mal funst ;-) Für eure bisherige Hilfe bin ich sehr dankbar und vielleicht kommt ja noch der eine oder andere Tipp, um alles zum Laufen zu bekommen. -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Bjoern und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 23:08 meinte Bjoern Schmidt u. a.: Bitte poste Deine smb.conf oder die Ausgabe von testparm -v da ist sie ;-) [...] Diese Config funktioniert bei mir auf Anhieb. Hast Du samba nach Konfigurationsänderungen neu gestartet? Ja, mache ich. Zum Fehlersuchen empfiehlt sich im übrigen das aktivieren von logging ( log level = mind. 3 ) und das einsehen der logfiles! Ich fand unter global nur syslog, ist dies der gemeinte Eintrag von Dir? -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Sebastian Dellit wrote: am Donnerstag, 30. Dezember 2004 um 15:24 meinte Felix M. Palmen u. a.: besser so? ;-) Ein | Vorname Zuname schrieb: reicht völlig. Mehr wird ein Leser normalerweise nicht wissen wollen. Und falls doch, sind diese Informationen im Header oder Thread auffindbar. Kürzer ist leichter lesbar. Ausnahmen gibt es natürlich, z.B. wenn man sich auf ein uraltes Mail oder Posting bezieht und den Autor direkt anschreibt. Dann macht vermutlich auch ein Fullquote Sinn. Helmut Wollmersdorfer -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Sebastian Dellit wrote: Zum Fehlersuchen empfiehlt sich im übrigen das aktivieren von logging ( log level = mind. 3 ) und das einsehen der logfiles! Ich fand unter global nur syslog, ist dies der gemeinte Eintrag von Dir? Nein. Ich meinte log level. In der von Dir gemailten smb.conf stehts auf 0 (Null). Denke das Problem liegt bei Windows. Läuft der Dienst TCP/IP-NetBIOS-Hilfsprogramm? Falls nicht - starten Ist auf der Karteikarte WINS bei den Erweiterten TCP/IP-Einstellungen Deiner Netzwerkarte Standard oder NetBIOS über TCP/IP deaktivieren ausgewählt? Dann versuche es mal mit NetBIOS über TCP/IP aktivieren. -- Mit freundlichen Gruessen Bjoern Schmidt -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Andreas und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 23:34 meinte Andreas Pakulat u. a.: On 30.Dec 2004 - 22:21:11, Sebastian Dellit wrote: 1. Hast du dich vertippt, es heisst smbd nicht smdb ;-) Stimmt. 2. nmbd läuft. Ob der smbd läuft kann ich nicht sagen wg. des Tippfehlers. Ausserdem solltest du für die o.g. RegExp egrep nehmen, bei grep muss die nämlich anders aussehen Dann müsste dies die richtige Ausgabe sein: samba:~# ps -ef | egrep smbd root 875 870 0 09:51 pts/000:00:00 grep -E smbd samba:~# ps -ef | egrep nmbd root 801 1 0 09:41 ?00:00:00 /usr/sbin/nmbd -D root 879 870 0 09:52 pts/000:00:00 grep -E nmbd samba:~# -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Am Freitag, 31. Dezember 2004 10:58 schrieb Sebastian Dellit: am Donnerstag, 30. Dezember 2004 um 22:30 meinte Gerhard Brauer u. a.: Ich weiss nicht, warum du mir auf meine andere Mail per PM antwortest, aber egal... Das war ein versehen... vergass die Adresse von Dir zu löschen und die Adresse von Debian einzufügen. In KMail gibt es eine ListReply Funktion. Entweder du drückst auf l (das ist ein kleines L kein großes i) oder du legst den Button: An Liste Antworten in deiner Symbolleiste an. Wenn du dann noch einen separaten Ordner für die Liste anlegst, und in den Eigenschaften die Listenadresse einträgst, kann garnichts mehr schiefgehen. -- MfG usw. Werner Mahr registered Linuxuser: 295882 pgp9FZT5pWJrt.pgp Description: signature
Re: Samba-Server sichtbar machen
Andreas Pakulat wrote: Tippfehlers. Ausserdem solltest du für die o.g. RegExp egrep nehmen, bei grep muss die nämlich anders aussehen Ungefähr so? ps -ef | grep mbd ;) -- Mit freundlichen Gruessen Bjoern Schmidt -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Bjoern und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 11:19 meinte Bjoern Schmidt u. a.: Nein. Ich meinte log level. In der von Dir gemailten smb.conf stehts auf 0 (Null). Das habe ich geändert. Danke. Denke das Problem liegt bei Windows. Läuft der Dienst TCP/IP-NetBIOS-Hilfsprogramm? Falls nicht - starten Folgende Dienste laufen: Eigenschaften von LAN-Verbindung 1 Verbindung herstellen über: Realtek RTL8169/8110 Family Gigab Konfigurieren... Diese Verbindung verwendet folgende Elemente: Client für Microsoft Netzwerke Datei und Druckerfreigabe für Microsoft Netzwerke Qos-Paketplaner NWLink-NetBIOS NWLink IPX/SPX/NetBIOS-kompatibles Transportprotokoll Internetprotokoll (TCP/IP) Ist auf der Karteikarte WINS bei den Erweiterten TCP/IP-Einstellungen Deiner Netzwerkarte Standard oder NetBIOS über TCP/IP deaktivieren ausgewählt? Dann versuche es mal mit NetBIOS über TCP/IP aktivieren. Das ist bereits aktiviert. Zusätzlich steht der Samba als Wins eingetragen. Da von der Server Seite ja beide Rechner zu sehen sind, wird der ganze Fehler wohl echt irgendwas mit dem Windoof zu tun haben :-( -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
On Thursday 30 December 2004 15:51, Sebastian Dellit wrote: Hoppa Bjoern und Leser und Leserinnen, Hallo, ich klinke mich mal ein. am Donnerstag, 30. Dezember 2004 um 15:09 wurde u. a. getippt: Bitte poste Deine smb.conf oder die Ausgabe von testparm -v da ist sie ;-) *** Anfang *** # Samba config file created using SWAT # from 192.168.1.3 (192.168.1.3) # Date: 2004/12/30 14:25:22 # Global parameters [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = ARITAMBA Sind die Win clients auf die gleiche Arbeitsgruppe/Domäne konfiguriert? realm = netbios name = SAMBA netbios aliases = netbios scope = Kleiner Tip. Kommentiere mal nicht unbedingt nötige Optionen aus. preload modules = use kerberos keytab = No log level = 0 syslog = 0 syslog only = No log file = /var/log/samba/log.%m max log size = 1000 Setzt mal den log level höher. debug timestamp = Yes debug hires timestamp = No debug pid = No debug uid = No [...] nt status support = Yes announce version = 4.9 announce as = NT Hmm. Wenn die clients neuerer Natur sind könnte es passieren, dass der Samba Server nicht der Masterbrowser wird. Entweder die Browserdienste beim Client deaktivieren oder den Samba etwas höher werten. Z.b. wie ein Win2K DC. max mux = 50 max xmit = 16644 name resolve order = lmhosts wins host bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 [...] os level = 65 Siehe oben. lm announce = Auto lm interval = 60 preferred master = Yes local master = Yes domain master = No browse list = Yes enhanced browsing = Yes Das sieht ganz gut aus. dns proxy = No wins proxy = No wins server = wins support = Yes wins hook = wins partners = Okay. Samba ist also WINS Server. Ist auf den Win clients die IP Adresse des Servers auf der Reiterkarte WINS eingetragen und NetBIOS über TCP/IP aktiv? Bzw. liefert der DHCP Server auch die WINS Server und die NetBIOS Optionen? kernel oplocks = Yes lock spin count = 3 Wie bereits geschrieben, ich würde Dir raten undbedingt ALLE nicht explizit zu setzenden Optionen aus der Konfiguration rausschmeissen. [homes] comment = Home Directories create mask = 0700 directory mask = 0700 browseable = No [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers Irgendwie hast Du keine sichtbaren (ohne $ am Ende das Namens) oder auf browseable = Yes gesetzten shares. Ich habe jetzt keine server zum testen, Aber evtl. liegt das Problem auch hier. Gruß Thomas -- IRC: TomseDive Jabber: [EMAIL PROTECTED] ICQ: 4843585 pgpGgAZ1zW35Y.pgp Description: PGP signature
Re: Samba-Server sichtbar machen
Hoppa Werner und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 11:20 meinte Werner Mahr u. a.: Das war ein versehen... vergass die Adresse von Dir zu löschen und die Adresse von Debian einzufügen. In KMail gibt es eine ListReply Funktion. Entweder du drückst auf l (das ist ein kleines L kein großes i) oder du legst den Button: An Liste Antworten in deiner Symbolleiste an. Wenn du dann noch einen separaten Ordner für die Liste anlegst, und in den Eigenschaften die Listenadresse einträgst, kann garnichts mehr schiefgehen. Das ist sicher schick, aber die Mails bearbeite ich von Windows aus, ich vermute das von Dir angesprochene Mailprogramm läuft unter Linux? Und soweit bin ich noch nicht ;-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
On 31.Dec 2004 - 11:21:43, Sebastian Dellit wrote: am Donnerstag, 30. Dezember 2004 um 23:34 meinte Andreas Pakulat u. a.: On 30.Dec 2004 - 22:21:11, Sebastian Dellit wrote: Dann müsste dies die richtige Ausgabe sein: samba:~# ps -ef | egrep smbd root 875 870 0 09:51 pts/000:00:00 grep -E smbd samba:~# ps -ef | egrep nmbd root 801 1 0 09:41 ?00:00:00 /usr/sbin/nmbd -D root 879 870 0 09:52 pts/000:00:00 grep -E nmbd Richtig, der smbd läuft also nicht. Wäre die Frage warum: Sagt das /var/log/log.smbd was dazu? Gibts Meldungen beim Ausführen von /etc/init.d/samba start? Andreas -- You have an unusual understanding of the problems of human relationships. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
On 31.Dec 2004 - 10:58:21, Sebastian Dellit wrote: am Donnerstag, 30. Dezember 2004 um 22:30 meinte Gerhard Brauer u. a.: Dann stimmt deine Namensaufloesung in deinem Netz nicht (kein Nameserver oder die Eintraege in der hosts-Datei sowohl auf dem Server wie auch dem Client). Ohne Nameserver muessen bei beiden Rechnern in den hosts alle Rechner im Netz aufgefuehrt werden, und am besten auch in den entsprechenden lmhosts Dateien. Solange darfst du nur mit IP-Adressen arbeiten. OK, die Einträge könnte ich sicher vornehmen, jedoch bringt mir dann der DHCP nichts mehr, oder irre ich? Jaein, du müsstest die /etc/hosts jedesmal ändern wenn sich die IP eines der darin enthaltenen Servers ändert. Du könntest natürlich für alle Clients aufgrund der MAC-Adresse dafür sorgen, dass sie immer diesselbe IP kriegen. Aber dynamisches zuweisen von IP's macht wirklich mit einer statischen hosts Datei wenig Sinn. Da sollte man dann einen DNS-Server mitlaufen haben. Gibt es da vielleicht noch andere Möglichkeiten das ganze zum Laufen zu bekommen, inkl. dem DHCP von meinem DSL Router? Hat der Router auch nen DNS-Server? Dann nimm doch den. Funktioniert denn vom XP-Dingens ein net view \\IP_ADRESSE_SERVER D:\Dokumente und Einstellungen\Sebastian Dellitnet view \\192.168.1.2 Systemfehler 53 aufgetreten. Der Netzwerkpfad wurde nicht gefunden. Wir hatten ja schon festgestellt, dass der smbd nicht läuft. Habe ich alles gemacht, spielt es hierbei eine Rolle, wo ich die Einträge genau in der .conf vornehme? Naja nach Möglichkeit ans Ende und nicht quer zwischen die globalen Einstellungen. Andreas -- You will soon meet a person who will play an important role in your life. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Gruesse! * Sebastian Dellit [EMAIL PROTECTED] schrieb am [31.12.04 10:58]: net view \\samba kommt Systemfehler 53 der Netzwerkpfad wurde nicht gefunden. Dann stimmt deine Namensaufloesung in deinem Netz nicht (kein Nameserver oder die Eintraege in der hosts-Datei sowohl auf dem Server wie auch dem Client). Ohne Nameserver muessen bei beiden Rechnern in den hosts alle Rechner im Netz aufgefuehrt werden, und am besten auch in den entsprechenden lmhosts Dateien. Solange darfst du nur mit IP-Adressen arbeiten. OK, die Einträge könnte ich sicher vornehmen, jedoch bringt mir dann der DHCP nichts mehr, oder irre ich? Ich bin mir halt nicht sicher, ob dein DSL-Router das DHCP so beherrscht bzw. konfigurierbar ist, dass die Namensaufloesung auch im lokalen LAN gegeben ist. Momentan gehe ich davon aus, das dass Problem *nur* der XP-Rechner ist evtl. verursacht ueber den externen Router. Frage: Kannst du nur zum Testen Client und Server direkt verbinden ueber ein Cross-Over-Kabel? Frage: Hast du eine Knoppix-CD, mit der du den Client booten koenntest? Du koenntest folgende Dinge noch austesten: a) Im XP-Dings die LAN-Verbindung mal komplett loeschen, damit alle vorgenommenen Eintragungen ueber evtl. WINS-Server etc. weg sind. Diese dann neu einrichten lassen fuer DHCP. aa) Bei XP/W2k konnte man Arbeitsgruppe und Domaene doch getrennt angeben? Hast du deinen Workgroup-Namen bei XP auch bei Arbeitsgruppe und nicht bei Domaene eingetragen? b) Du schriebst noch was ueber Firewall NIS 2004, kenne ich nicht. Wenn das auf dem Client oder Router laeuft bitte zum Testen komplett abschalten. Auf dem Server hast du nicht mal eine Firewall oder iptables Filter konfiguriert, das da noch was aktiv waere? c) Es waere interessant, welche DHCP-Eintraege dein Client vom Router bekommt. Auf der Kommandozeile mal eingeben: ipconfig oder ipcfg oder winipcfg oder winipconfig (???), ich weiss nicht, wie der Befehl bei XP heisst. Dadurch sollte ein Dialog aufgehen, der dir (evtl. ueber ertweiterte Options) momentane IP, Netmask, Gateway, etc anzeigt, also alle Werte die per DHCP zugewiesen werden. Diese bitte mal posten, v.a. WINS,Nameserver, Gateway, Hostname d) Am Server den Netz-Transfer protokollieren. Erst: apt-get install tcpdump Dann: tcpdump -n -i eth0 dst port 139 or dst port 137 or dst port 138 or dst port 53 Das obige ist eine Zeile (als root). Damit wird der Traffic auf die relevanten Ports des Samba-Servers mitgeschnitten. Diesen Befehl laufen lassen und am XP-Client in der Kommandozeile eingeben: net view und net view \\samba Dadurch sollte sich am Server beim tcpdump einiges tun. Diesen Output bitte mal posten, wenn es geht mit korrektem Zeilenumbruch. Besser auch in eine Textdatei reinkopieren (mit korrekem Umbruch) und diese an die Mail anhaengen. Folgendes in die smb.conf eintragen: [Test] path = /tmp/test comment = Testdir writeable = yes Dann Samba-Dienst neu starten. Habe ich alles gemacht, spielt es hierbei eine Rolle, wo ich die Einträge genau in der .conf vornehme? Am besten nach Global, also am Ende. Wie gesagt, abgesehen von Name-Server Problemen denke ich, das die grundlegende Netbios-Geschichte funktioniert. OK, mal sehen ob das hier irgendwann mal funst ;-) Kommt das jetzt von Funsionieren? Ich kannte neudeutsch bisher nur Funzionieren (funzt) ;-)) Hach, diese lebenden Sprachen... Gruss Gerhard
Re: Samba-Server sichtbar machen
Hoppa Andreas und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 12:26 meinte Andreas Pakulat u. a.: Dann müsste dies die richtige Ausgabe sein: samba:~# ps -ef | egrep smbd root 875 870 0 09:51 pts/000:00:00 grep -E smbd samba:~# ps -ef | egrep nmbd root 801 1 0 09:41 ?00:00:00 /usr/sbin/nmbd -D root 879 870 0 09:52 pts/000:00:00 grep -E nmbd Richtig, der smbd läuft also nicht. Wäre die Frage warum: Sagt das /var/log/log.smbd was dazu? Gibts Meldungen beim Ausführen von /etc/init.d/samba start? Lediglich: Starting Samba daemons: nmbd smbd. Aber das anschließende ps -ef | egrep smbd bringt die gleiche Meldung wie oben. Das Log zeigt: samba - PuTTY Ilog.smbd Row 43 Col 1 11:54 Ctrl-K H for help loaded services [2004/12/31 11:51:42, 3] smbd/server.c:main(805) Becoming a daemon. [2004/12/31 11:51:42, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2004/12/31 11:51:42, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2004/12/31 11:51:42, 3] printing/printing.c:start_background_queue(1224) start_background_queue: Starting background LPQ thread [2004/12/31 11:51:42, 0] lib/util_sock.c:open_socket_in(708) bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use [2004/12/31 11:51:42, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2004/12/31 11:51:42, 2] smbd/server.c:exit_server(571) Closing connections [2004/12/31 11:51:42, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2004/12/31 11:51:42, 3] smbd/connection.c:yield_connection(76) yield_connection: tdb_delete for name failed with error Record does not exist. [2004/12/31 11:51:42, 3] smbd/server.c:exit_server(614) Server exit (Caught TERM signal) Also bis zur hälfte scheint alles zu klappen. Dann kommen ein paar Fehler, das ein Port belegt ist etc. Soviel habe ich glaube ich verstanden ;-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
On 31.Dec 2004 - 13:21:29, Sebastian Dellit wrote: am Freitag, 31. Dezember 2004 um 12:26 meinte Andreas Pakulat u. a.: [2004/12/31 11:51:42, 0] lib/util_sock.c:open_socket_in(708) bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use Also bis zur hälfte scheint alles zu klappen. Dann kommen ein paar Fehler, das ein Port belegt ist etc. Soviel habe ich glaube ich verstanden ;-) Genau, daher: Hast du vorher samba gestoppt? (/etc/init.d/samba stop ausgeführt) Wenn ja: Was läuft denn auf deinem Port 139? netstat -tulpen | grep 139 sagt dir das. Andreas -- You will soon forget this. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Gruesse! * Andreas Pakulat [EMAIL PROTECTED] schrieb am [31.12.04 12:26]: samba:~# ps -ef | egrep smbd root 875 870 0 09:51 pts/000:00:00 grep -E smbd Richtig, der smbd läuft also nicht. Wäre die Frage warum: Sagt das /var/log/log.smbd was dazu? Gibts Meldungen beim Ausführen von /etc/init.d/samba start? Hast natuerlich recht, kann aber nur ein momentanes Problem sein, denn ein Telnet auf Port 139 vom Client zum Server ging ja. Und auch ein smbclient zum Server. Das wuerde ohne gestarteten smbd ja nicht funktionieren, der nmbd lauscht ja auf 137. Andreas Gruss Gerhard
Re: Samba-Server sichtbar machen
Sebastian Dellit wrote: Da von der Server Seite ja beide Rechner zu sehen sind, wird der ganze Fehler wohl echt irgendwas mit dem Windoof zu tun haben Hi, ich geb jetzt auch ma meinen Senf dazu. Check ma die WinXP Firewall. Vielleicht blockiert die einfach schon die Verbindung zum Samba. Einfach mal deaktivieren, was eigentlich generell ratsam is ;) -- Claus Malter [EMAIL PROTECTED] ICQ: 105226435 Web: http://claus.freakempire.de GnuPG-ID: 0x5E8F5B07 http://wwwkeys.de.pgp.net -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Andreas und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 13:36 meinte Andreas Pakulat u. a.: Also bis zur hälfte scheint alles zu klappen. Dann kommen ein paar Fehler, das ein Port belegt ist etc. Soviel habe ich glaube ich verstanden ;-) Genau, daher: Hast du vorher samba gestoppt? (/etc/init.d/samba stop ausgeführt) Hatte den ganzen Server neu gestartet. Wenn ja: Was läuft denn auf deinem Port 139? netstat -tulpen | grep 139 sagt dir das. samba:/var/log/samba# netstat -tulpen | grep 139 tcp0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 2741 764/inetd samba:/var/log/samba# Hmm? :-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Claus und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 13:54 meinte Claus Malter u. a.: Hi, ich geb jetzt auch ma meinen Senf dazu. Check ma die WinXP Firewall. Vielleicht blockiert die einfach schon die Verbindung zum Samba. Einfach mal deaktivieren, was eigentlich generell ratsam is ;) Die XP FW ist generell aus. Meine NIS FW habe ich derzeit auch deaktiviert, um sie als Störenfried ausschließen zu können. -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Sebastian Dellit wrote: Wenn ja: Was läuft denn auf deinem Port 139? netstat -tulpen | grep 139 sagt dir das. samba:/var/log/samba# netstat -tulpen | grep 139 tcp0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 2741 764/inetd samba:/var/log/samba# Hmm? :-) Nunja. Hast du dich eigentlich schon entschieden ob du den Samba als Daemon startest oder aus inetd aufrufen lässt? (Vielleicht hab ich was überlesen. Sind ja schon etliche Mails). Ich würde den daemon empfehlen. Nimm den Eintrag für samba aus der /etc/inetd.conf raus und starte den /etc/init.d/inetd neu. Dann sollte der Port 139 erstmal nicht mehr besetzt sein. Als nächstes probierst du nochmal den Samba zu starten. Der sollte vom init Skript eigentlich als daemon mit der Option -D gestartet werden. Viel Glück -- Claus Malter [EMAIL PROTECTED] ICQ: 105226435 Web: http://claus.freakempire.de GnuPG-ID: 0x5E8F5B07 http://wwwkeys.de.pgp.net -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
gelöst [was: Samba-Server sichtbar machen]
Hoppa Claus und Leser und Leserinnen, am Freitag, 31. Dezember 2004 um 14:20 meinte Claus Malter u. a.: Nunja. Hast du dich eigentlich schon entschieden ob du den Samba als Daemon startest oder aus inetd aufrufen lässt? (Vielleicht hab ich was überlesen. Sind ja schon etliche Mails). Ich würde den daemon empfehlen. Nimm den Eintrag für samba aus der /etc/inetd.conf raus und starte den /etc/init.d/inetd neu. Dann sollte der Port 139 erstmal nicht mehr besetzt sein. Als nächstes probierst du nochmal den Samba zu starten. Der sollte vom init Skript eigentlich als daemon mit der Option -D gestartet werden. Also bei der Installation von Samba habe ich mich für Daemon entschieden, sollte also so eigentlich klappen. Aber nach dem ich jetzt unter XP alle Netzwerkverbindungen inkl. Treiber gelöscht, mal die Registrie aufgeräumt habe und an meinem Router auch dem Windows Client per MAC Adresse ne feste IP zugewiesen habe (+ der Eintrag in die hosts auf dem Samba und Client) sehe ich jetzt doch glatt alle freigaben. Wins habe ich wieder gelöscht gehabt... neu gestartet und jetzt klappt alles soweit also gehts an das nächste Problem, welches sicherlich bald kommen wird ;-) Ich danke Euch allen für Eure Hilfe und wünsche hier gleich noch einen guten Rutsch in das neue Jahr und viel Erfolg, Gesundheit etc Rutscht gut, aber nicht schmerzvoll :-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Samba-Server sichtbar machen
Hoppa debian-user-german Leser und Leserinnen, da ich bislang immer noch keinen Erfolg mit meinem Samba als Domänencontroller hatte, will ich mal etwas kleiner anfangen ;-) Nun wäre es mein erstes Ziel, das ich den Samba auch unter Windows XP in der Netzwerkverbindung sehe, jedoch funktioniert das einfach nicht. Habe den Samba auf share (vorher war User) gestellt, Domänenmaster no, mit Wins support habe ich rummprobiert... unter XP habe ich unter dem Protokoll TCP/IP erweitert Register Wins auf Netbios mit TCP... gestellt oder auch nicht Ich kann nach wie vor beide Rechner von beiden aus anpingen. Also ich kann auch den Samba mit samba anpingen. Die Workstation stimmt ebenfalls bei beiden... Aber der Samba taucht einfach nicht auf... Keine Ahnung ob hier der Siemens Router ein Problem darstellt, der die Rechner verbindet... Hat hier vielleicht noch irgendwer Tipps, wie ich die Rechner untereinander sichbar machen kann, so das ich Dateien hin und herschieben könnte? Wenn das geht, ist es zum Domänencontroller vielleicht nicht mehr so weit ;-) Vielen Dank für Eure Tipps. -- Viele Grüße Sebastian -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hi! Ist in /etc/samba/lmhosts die IP des Sambaservers eingetragen? Daran lag es mal bei mir, danach ging es wunderbar. Grüße Steve -- +++ GMX - die erste Adresse für Mail, Message, More +++ 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
am Thu, dem 30.12.2004, um 12:25:27 +0100 mailte Sebastian Dellit folgendes: Nun wäre es mein erstes Ziel, das ich den Samba auch unter Windows XP in der Netzwerkverbindung sehe, jedoch funktioniert das einfach nicht. läuft der nmbd? Keine Ahnung ob hier der Siemens Router ein Problem darstellt, der die Rechner verbindet... Ja, weil Netzwerkumgebung via Broadcast geht und das an Routergrenzen scheitert. Aber ich *vermute* mal, Du nimmst nur die Hub-Funktion des Routers, also alle Rechner im selben Netzsegment. Andreas -- Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau- fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa ideenpool und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 12:41 wurde u. a. getippt: Ist in /etc/samba/lmhosts die IP des Sambaservers eingetragen? Daran lag es mal bei mir, danach ging es wunderbar. Die Datei existiert bei mir nicht :-( -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Andreas und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 12:42 wurde u. a. getippt: Nun wäre es mein erstes Ziel, das ich den Samba auch unter Windows XP in der Netzwerkverbindung sehe, jedoch funktioniert das einfach nicht. läuft der nmbd? Ach ja... ich Neuling *g* wie kann ich das am Besten nachschauen? Keine Ahnung ob hier der Siemens Router ein Problem darstellt, der die Rechner verbindet... Ja, weil Netzwerkumgebung via Broadcast geht und das an Routergrenzen scheitert. Aber ich *vermute* mal, Du nimmst nur die Hub-Funktion des Routers, also alle Rechner im selben Netzsegment. Also die Rechner haben alle die Sub: 255.255.255.0 und teilen sich dann über den Router die Internetverbindung. Also vermute ich, das Du mit Deiner Vermutung richtig liegst ;-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
am 30.12.2004, um 12:41:44 +0100 mailte [EMAIL PROTECTED] folgendes: Hi! Ist in /etc/samba/lmhosts die IP des Sambaservers eingetragen? Diese Datei gibt es bei mir gar nicht. Daran lag es mal bei mir, danach ging es wunderbar. Es geht ohne diese Datei hier wunderbar. Vielleicht sollte man die Datei löschen? Bitte: es macht keinen Sinn, einen leeren 'ideenpool' einfach hier reinzuschütten. Andreas -- Andreas Kretschmer(Kontakt: siehe Header) Tel. NL Heynitz: 035242/47212 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net ===Schollglas Unternehmensgruppe=== -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
* Sebastian Dellit [EMAIL PROTECTED] [20041230 12:25]: Nun wäre es mein erstes Ziel, das ich den Samba auch unter Windows XP in der Netzwerkverbindung sehe, jedoch funktioniert das einfach nicht. Habe den Samba auf share (vorher war User) gestellt, Domänenmaster no, ^^ Das solltest du trotzdem auf yes stellen, ebenso wie preferred master und wins support. Unabhängig davon würde ich security = user lassen. workgroup sollte natürlich die gleiche Einstellung wie auf den Clients sein. Das müsste dann schon reichen, um in einem einzelnen Subnetz den SMB-Server zu sehen. Sicherer (und auch über Router hinweg) funktioniert es, wenn du Wins verwendest. Dazu auf dem Client den Linux-Server als Wins-Server eintragen oder wenn du dhcp verwendest im passenden subnet-Abschnitt folgende Zeile: | option netbios-name-servers a.b.c.d; Grüße, Felix -- | /\ ASCII Ribbon | Felix M. Palmen (Zirias)http://zirias.ath.cx/ | | \ / Campaign Against | [EMAIL PROTECTED] encrypted mail welcome | | XHTML In Mail | PGP key: http://zirias.ath.cx/pub.txt | | / \ And News | ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 | signature.asc Description: Digital signature
Re: Samba-Server sichtbar machen
Am 2004-12-30 12:53:44, schrieb Andreas Kretschmer: am 30.12.2004, um 12:41:44 +0100 mailte [EMAIL PROTECTED] folgendes: Hi! Ist in /etc/samba/lmhosts die IP des Sambaservers eingetragen? Diese Datei gibt es bei mir gar nicht. Daran lag es mal bei mir, danach ging es wunderbar. Es geht ohne diese Datei hier wunderbar. Vielleicht sollte man die Datei löschen? Bitte: es macht keinen Sinn, einen leeren 'ideenpool' einfach hier reinzuschütten. Ähm, ich mußte ebenfals die lmhosts anlegen... ...sonst funktioniert mein 3.0.2 nicht. samba alleine als normaler FileServer funktioniert ohne. Andreas Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: Samba-Server sichtbar machen
Am 2004-12-30 12:53:44, schrieb Andreas Kretschmer: am 30.12.2004, um 12:41:44 +0100 mailte [EMAIL PROTECTED] folgendes: Hi! Ist in /etc/samba/lmhosts die IP des Sambaservers eingetragen? Diese Datei gibt es bei mir gar nicht. Daran lag es mal bei mir, danach ging es wunderbar. Es geht ohne diese Datei hier wunderbar. Vielleicht sollte man die Datei löschen? Bitte: es macht keinen Sinn, einen leeren 'ideenpool' einfach hier reinzuschütten. Ähm, ich mußte ebenfals die lmhosts anlegen... ...sonst funktioniert mein 3.0.2 nicht. samba alleine als normaler FileServer funktioniert ohne. Andreas Greetings Michelle Merci Michelle ... ;-) Steve -- +++ GMX - die erste Adresse für Mail, Message, More +++ 1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Michelle, am Donnerstag, 30. Dezember 2004 um 13:31 tippte Michelle u. a.: Ähm, ich mußte ebenfals die lmhosts anlegen... ...sonst funktioniert mein 3.0.2 nicht. das könnte ich ja spaßenshalber mal testen, wie sieht dort der Inhalt aus? samba alleine als normaler FileServer funktioniert ohne. Hmm also müsste er trotzdem auch ohne die Datei im Netzwerk auftauchen? -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
* Sebastian Dellit [EMAIL PROTECTED] [20041230 13:31]: Hoppa Felix und Leser und Leserinnen, Bitte keine Mail-Kopien. Wenn ich die wollte, stünde das im Mail-Followup-To. Danke. am Donnerstag, 30. Dezember 2004 um 13:06 wurde u. a. getippt: und wenn ich schon am meckern bin: http://learn.to/attribute (kann man auch anders machen, aber wenigstens Name und/oder Adresse sollten bitte drinstehen). Nix für ungut, is einfach übersichtlicher ;) OK, stimmt jetzt alles, also ist alles so eingestellt, wie Du sagtest. Das müsste dann schon reichen, um in einem einzelnen Subnetz den SMB-Server zu sehen. Sicherer (und auch über Router hinweg) funktioniert Hmmm die Netzwerkumgebung zeigt mir leider immer noch nur meinen XP Rechner an :-( Beide Systeme habe ich mal neu gestartet, jedoch ohne Erfolg. Hast du dich mal über gesamtes Netzwerk durchgeklickt? Ich weiß nicht genau, welcher Strategie XP da folgt, aber es ist soweit ich weiß normal, dass Rechner im Netzwerk zunächst mal _nicht_ in der Netzwerkumgebung direkt angezeigt werden. Wenn du ihn natürlich auch über gesamtes Netzwerk nicht finden kannst muss noch etwas anderes faul sein. es, wenn du Wins verwendest. Dazu auf dem Client den Linux-Server als Wins-Server eintragen Ich habe unter dem Reiter Wins die IP des Samba Rechners eingegeben. LMHOSTS importieren auf nein und NETBIOS TCP ja... Das sollte richtig sein, allerdings sagen mir die beiden anderen Optionen jetzt nicht viel. oder wenn du dhcp verwendest im passenden subnet-Abschnitt folgende Zeile: | option netbios-name-servers a.b.c.d; Welchen Abschnitt meinst Du genau? Der Abschnitt für das Subnetz, in dem deine Clients stehen. Ich nutze hier DHCP. Habe dem Samba Server jedoch über die MAC Adresse eine feste IP zugewiesen, entfällt so der von Dir angesprochene Eintrag? Der Samba-Server braucht keinen netbios-name-server, das ist für die Clients. Wenn du das auf dem Client eh manuell eingetragen hast, musst du es nicht über DHCP machen. Grüße, Felix -- | /\ ASCII Ribbon | Felix M. Palmen (Zirias)http://zirias.ath.cx/ | | \ / Campaign Against | [EMAIL PROTECTED] encrypted mail welcome | | XHTML In Mail | PGP key: http://zirias.ath.cx/pub.txt | | / \ And News | ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 | signature.asc Description: Digital signature
Re: Samba-Server sichtbar machen
Am 2004-12-30 13:40:52, schrieb Sebastian Dellit: Hoppa Michelle, am Donnerstag, 30. Dezember 2004 um 13:31 tippte Michelle u. a.: Ähm, ich mußte ebenfals die lmhosts anlegen... ...sonst funktioniert mein 3.0.2 nicht. das könnte ich ja spaßenshalber mal testen, wie sieht dort der Inhalt aus? Also Da müßte ich erst in der Firma vorbeisehen und das ist nicht vor nächstem Jahr... Ups... Habe hier noch ein Backup von meiner alten Winnie-WS. Ich hänge mal die lmhosts.sam (mit erklärungen) dran. samba alleine als normaler FileServer funktioniert ohne. Hmm also müsste er trotzdem auch ohne die Datei im Netzwerk auftauchen? Das ist Richtig. Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) # Copyright (c) 1994 Microsoft Corp. # # This is a sample LMHOSTS file used by the Microsoft TCP/IP-32 for # Windows for Workgroups 3.11 # # TO USE THIS FILE, YOU WILL NEED TO RENAME IT TO LMHOSTS FROM # LMHOSTS.SAM. THE SAMPLE FILE IS INTENTIONALLY NAMED LMHOSTS.SAM # SO THAT IT WOULD NOT CONFLICT WITH AN EXISTING LMHOSTS FILE. # # This file contains the mappings of IP addresses to computernames # (NetBIOS) names. Each entry should be kept on an individual line. # The IP address should be placed in the first column followed by the # corresponding computername. The address and the comptername # should be separated by at least one space or tab. The # character # is generally used to denote the start of a comment (see the exceptions # below). # # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts # files and offers the following extensions: # # #PRE # #DOM:domain # #INCLUDE filename # #BEGIN_INCLUDE # #END_INCLUDE # \0xnn (non-printing character support) # # Following any entry in the file with the characters #PRE will cause # the entry to be preloaded into the name cache. By default, entries are # not preloaded, but are parsed only after dynamic name resolution fails. # # Following an entry with the #DOM:domain tag will associate the # entry with the domain specified by domain. This affects how the # browser and logon services behave in TCP/IP environments. To preload # a #DOM entry, it is necessary to also add a #PRE to the line. # # Specifying #INCLUDE filename will force the RFC NetBIOS (NBT) # software to seek the specified filename and parse it as if it were # local. filename is generally a UNC-based name, allowing a # centralized lmhosts file to be maintained on a server. If the server # is located outside of the local broadcast area, it will probably be # necessary to provide a mapping for the server prior to the #INCLUDE. # # The #BEGIN_ and #END_INCLUDE keywords allow multiple #INCLUDE # statements to be grouped together. Any single successful include # will cause the group to succeed. # # Finally, non-printing characters can be embedded in mappings by # first surrounding the NetBIOS name in quotations, then using the # \0xnn notation to specify a hex value for a non-printing character. # # The following example illustrates all of these extensions: # # 102.54.94.97 rhino #DOM:networking #net group's DC # 102.54.94.102appname \0x14#special app server # 102.54.94.123popular#PRE #source server # # #BEGIN_INCLUDE # #INCLUDE \\localsrv\public\lmhosts # #INCLUDE \\rhino\public\lmhosts # #END_INCLUDE # # In the above example, the appname server contains a special # character in its name, the popular servername is preloaded, and # the rhino servername is specified so it can be used to later # #INCLUDE a centrally maintained lmhosts file if the localsrv # system is unavailable. # signature.pgp Description: Digital signature
Re: Samba-Server sichtbar machen
Hoppa Felix und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 13:47 wurde u. a. getippt: Bitte keine Mail-Kopien. Wenn ich die wollte, stünde das im Mail-Followup-To. Danke. OK, war ein versehen von mir ;-) am Donnerstag, 30. Dezember 2004 um 13:06 wurde u. a. getippt: und wenn ich schon am meckern bin: http://learn.to/attribute (kann man auch anders machen, aber wenigstens Name und/oder Adresse sollten bitte drinstehen). Nix für ungut, is einfach übersichtlicher ;) Hmmm... ich rede Dich doch aber oben in der Anrede persönlich an, das wäre ja dann doppelt gemoppelt, wenn ich das in der Zeile noch mal mache? Ich kann das auch ändern, kein Ding... ;-) Hast du dich mal über gesamtes Netzwerk durchgeklickt? Ich weiß nicht genau, welcher Strategie XP da folgt, aber es ist soweit ich weiß normal, dass Rechner im Netzwerk zunächst mal _nicht_ in der Netzwerkumgebung direkt angezeigt werden. Wenn du ihn natürlich auch über gesamtes Netzwerk nicht finden kannst muss noch etwas anderes faul sein. Habe auch über gesamtes Netzwerk geschaut... aber Fehlanzeige :-( es, wenn du Wins verwendest. Dazu auf dem Client den Linux-Server als Wins-Server eintragen Ich habe unter dem Reiter Wins die IP des Samba Rechners eingegeben. LMHOSTS importieren auf nein und NETBIOS TCP ja... Und testweise auch eine lmhosts erstellt und lmhosts importieren auf ja gestellt... ohne Erfolg :-( oder wenn du dhcp verwendest im passenden subnet-Abschnitt folgende Zeile: | option netbios-name-servers a.b.c.d; Welchen Abschnitt meinst Du genau? Der Abschnitt für das Subnetz, in dem deine Clients stehen. Sorry, konnte Dir leider immer noch nicht genau folgen :-( Ich nutze hier DHCP. Habe dem Samba Server jedoch über die MAC Adresse eine feste IP zugewiesen, entfällt so der von Dir angesprochene Eintrag? Der Samba-Server braucht keinen netbios-name-server, das ist für die Clients. Wenn du das auf dem Client eh manuell eingetragen hast, musst du es nicht über DHCP machen. Mit manuell meinst Du jetzt sicher den Eintrag bei Wins? Also mein Router verteilt die IPs, alle je nach wahl, auser beim Server selbst, da es hier über die MAC Adressen Identifizierung immer die gleiche IP gibt... -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Gruesse! * Sebastian Dellit [EMAIL PROTECTED] schrieb am [30.12.04 14:00]: Und testweise auch eine lmhosts erstellt und lmhosts importieren auf ja gestellt... ohne Erfolg :-( Ist an dem XP-Dings die Firewall fuer das Netzdevice eingeschaltet und evtl. nicht konfiguriert fuer lokalen Transfer? Oder eine andere Firewall auf dem XP-Dings aktiv? Viele Grüße Sebastian Gruss Gerhard
Re: Samba-Server sichtbar machen
Hi, Sebastian Dellit schrieb: [..]. Keine Ahnung ob hier der Siemens Router ein Problem darstellt, der die Rechner verbindet... poste mal bitte die IP des Routers, des XP-Rechners und des Samba-Rechners sowie der Netmask. -Joerg -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Sebastian Dellit wrote: Hoppa debian-user-german Leser und Leserinnen, da ich bislang immer noch keinen Erfolg mit meinem Samba als Domänencontroller hatte, will ich mal etwas kleiner anfangen ;-) Nun wäre es mein erstes Ziel, das ich den Samba auch unter Windows XP in der Netzwerkverbindung sehe, jedoch funktioniert das einfach nicht. Habe den Samba auf share (vorher war User) gestellt, Domänenmaster no, mit Wins support habe ich rummprobiert... unter XP habe ich unter dem Protokoll TCP/IP erweitert Register Wins auf Netbios mit TCP... gestellt oder auch nicht Bitte poste Deine smb.conf oder die Ausgabe von testparm -v -- Mit freundlichen Gruessen Bjoern Schmidt -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
* Sebastian Dellit [EMAIL PROTECTED] [20041230 14:00]: am Donnerstag, 30. Dezember 2004 um 13:47 wurde u. a. getippt: Hmmm... ich rede Dich doch aber oben in der Anrede persönlich an, das wäre ja dann doppelt gemoppelt, wenn ich das in der Zeile noch mal mache? Ich kann das auch ändern, kein Ding... ;-) Das ist vor allem für Mehrfach-Quotings. Da bleibt die Attribution-Line stehen, um zuordnen zu können. Wenn ich jetzt auf deine da oben schaue wird aber nicht mehr ersichtlich, dass ich da was geschrieben habe. Habe auch über gesamtes Netzwerk geschaut... aber Fehlanzeige :-( Dann habe ich im Moment leider keine Ideen mehr. Vielleicht fällt ja etwas auf, wenn du doch mal deine gesamte smb.conf postest. Außerdem IP-Adresse, Netzmaske und eventuell Standard-Gateway der beiden Rechner. Der Abschnitt für das Subnetz, in dem deine Clients stehen. Sorry, konnte Dir leider immer noch nicht genau folgen :-( [...] Also mein Router verteilt die IPs, alle je nach wahl, auser beim Server selbst, da es hier über die MAC Adressen Identifizierung immer die gleiche IP gibt... Die Zeile war für den Debian dhcpd gedacht. Wie du auf deinem Router DHCP konfigurieren kannst weiß ich nicht. Aber da du ja auf dem Windows-Rechner eh von Hand den Wins-Server eingetragen hast, kann es damit eh nichts zu tun haben. Grüße, Felix -- | /\ ASCII Ribbon | Felix M. Palmen (Zirias)http://zirias.ath.cx/ | | \ / Campaign Against | [EMAIL PROTECTED] encrypted mail welcome | | XHTML In Mail | PGP key: http://zirias.ath.cx/pub.txt | | / \ And News | ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 | signature.asc Description: Digital signature
Re: Samba-Server sichtbar machen
Hoppa Gerhard und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 15:02 wurde u. a. getippt: Und testweise auch eine lmhosts erstellt und lmhosts importieren auf ja gestellt... ohne Erfolg :-( Ist an dem XP-Dings die Firewall fuer das Netzdevice eingeschaltet und evtl. nicht konfiguriert fuer lokalen Transfer? Oder eine andere Firewall auf dem XP-Dings aktiv? Die Firewall von XP ist deaktiviert. Dann läuft noch die NIS 2004, welche ich unter persönliche Firewall/Netzwerk so eingestellt habe, das 192.168.1.0/255.255.255.0 als vertrauenswürdig eingestuft wird. .0 sollte ja heisen, das alle IP aus 192.168.1.x durchgelassen werden... hoffe ich ;-) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Joerg und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 15:06 wurde u. a. getippt: poste mal bitte die IP des Routers, des XP-Rechners und des Samba-Rechners sowie der Netmask. Router: 192.168.1.1 Samba: 192.168.1.2 (über MAC Adresse festgelegt) Client: durch DHCP festgelegt, derzeit immer die 192.168.1.3 da mein anderer Rechner nicht drann hängt... Mask: 255.255.255.0 (für alle) -- Viele Grüße Sebastian ICQ: 264706583 / MSM: [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] / Web: www.aritamba.de -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Samba-Server sichtbar machen
Hoppa Bjoern und Leser und Leserinnen, am Donnerstag, 30. Dezember 2004 um 15:09 wurde u. a. getippt: Bitte poste Deine smb.conf oder die Ausgabe von testparm -v da ist sie ;-) *** Anfang *** # Samba config file created using SWAT # from 192.168.1.3 (192.168.1.3) # Date: 2004/12/30 14:25:22 # Global parameters [global] dos charset = CP850 unix charset = UTF-8 display charset = LOCALE workgroup = ARITAMBA realm = netbios name = SAMBA netbios aliases = netbios scope = server string = %h server (Samba %v) interfaces = bind interfaces only = No security = USER auth methods = encrypt passwords = Yes update encrypted = No client schannel = Auto server schannel = Auto allow trusted domains = Yes hosts equiv = min password length = 5 map to guest = Never null passwords = No obey pam restrictions = Yes password server = * smb passwd file = /etc/samba/smbpasswd private dir = /etc/samba passdb backend = tdbsam, guest algorithmic rid base = 1000 root directory = guest account = nobody pam password change = No passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . passwd chat debug = No passwd chat timeout = 2 check password script = username map = password level = 0 username level = 0 unix password sync = No restrict anonymous = 0 lanman auth = Yes ntlm auth = Yes client NTLMv2 auth = No client lanman auth = Yes client plaintext auth = Yes preload modules = use kerberos keytab = No log level = 0 syslog = 0 syslog only = No log file = /var/log/samba/log.%m max log size = 1000 debug timestamp = Yes debug hires timestamp = No debug pid = No debug uid = No smb ports = 445 139 large readwrite = Yes max protocol = NT1 min protocol = CORE read bmpx = No read raw = Yes write raw = Yes disable netbios = No acl compatibility = defer sharing violations = Yes nt pipe support = Yes nt status support = Yes announce version = 4.9 announce as = NT max mux = 50 max xmit = 16644 name resolve order = lmhosts wins host bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No unix extensions = Yes use spnego = Yes client signing = auto server signing = No client use spnego = Yes change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 kernel change notify = Yes lpq cache time = 10 max smbd processes = 0 paranoid server security = Yes max disk size = 0 max open files = 1 socket options = TCP_NODELAY use mmap = Yes hostname lookups = No name cache timeout = 660 load printers = Yes printcap cache time = 0 printcap name = /etc/printcap cups server = disable spoolss = No enumports command = addprinter command = deleteprinter command = show add printer wizard = Yes os2 driver map = mangling method = hash2 mangle prefix = 1 stat cache = Yes machine password timeout = 604800 add user script = delete user script = add group script = delete group script = add user to group script = delete user from group script = set primary group script = add machine script = shutdown script = abort shutdown script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No os level = 65 lm announce = Auto lm interval = 60 preferred master = Yes local master = Yes domain master = No browse list = Yes enhanced browsing = Yes dns proxy = No wins proxy = No wins server = wins support = Yes wins hook = wins partners = kernel oplocks = Yes lock spin count = 3 lock spin time = 10 oplock break wait time = 0 ldap admin dn = ldap delete dn = No ldap filter = (uid=%u) ldap group suffix = ldap idmap suffix = ldap machine suffix = ldap passwd sync = no ldap replication sleep = 1000 ldap suffix = ldap ssl = no ldap timeout = 15 ldap user suffix = add share command = change