updatemyself .
2005-Nov-15 12:21 UTC
[Samba] Unable to connect samba server using hostname
Hai All, I am Unable to connect samba server using hostname the thing is.. its happen only from few windows machine in my network... but they can access the sambe share using IPAddress.. as like all other machine All the other Windows system in my network can access samba share using both... IP Address and Hostname.. This creating a big headache for me..... please suggest some solution to solve this problems... Here is my smb.conf file configuration... #=========================== Global Settings ===============================[global] workgroup = MYDOMAIN server string = Samba Server log file = /var/log/samba/%m.log max log size = 50 security = ads encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no #=========================== Share Definitions =============================#ldap idmap suffix = ou=emplist,dc=dqe,dc=com password server = 172.16.20.200 <http://172.16.20.200> realm = MYDOMAIN.COM <http://MYDOMAIN.COM> idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/bash template homedir = /home/%D/%U allow trusted domains = no idmap backend = idmap_rid:DQE=16777216-33554431 winbind use default domain = yes [vol08] path = /vol08_700 writable = yes public = yes nt acl support = yes create mask = 0755 security mask = 0755 inherit permissions = yes inherit acls = yes force security mode = 0 directory security mask = 0777 force directory security mode = 0 ============================================================================Please Share Your knowledge to solve this problem... Thank You in Advance, Regards, Jerrynikki.
Strebel, Franz R.
2005-Nov-15 12:27 UTC
[Samba] Unable to connect samba server using hostname
The machines that could not access via hostname, are they on a different subnet (not the same as the server)?
updatemyself . schrieb:> I am Unable to connect samba server using hostname > the thing is.. its happen only from few windows machine > in my network... but they can access the sambe share > using IPAddress.. as like all other machine > > All the other Windows system in my network can access samba share > using both... IP Address and Hostname.. > This creating a big headache for me..... > please suggest some solution to solve this problems... > >*) what's the result, if you try "nslookup <hostname>" on this machines? *) which version samba you 're using? *) which windows versions the broken machines are? -- -- greetings, kurt, austria. (http://www.kwnet.at) ==================================================================this is a posting from a samba *user* - not a samba developer. the posting is created on the base of experiences an may be faulty. so, if contains any mistakes, please feel free to correct it ===================================================================
Strebel, Franz R.
2005-Nov-15 12:36 UTC
[Samba] Unable to connect samba server using hostname
Netbios name resolution does not work across subnets so I am guessing that that is causing the problem. Using the IP address does not have this issue. There are two ways to deal with this: 1. have a WINS server 2. put appropriate entries in the LMHOSTS file More info can be found here: http://www.comptechdoc.org/os/windows/wintcp/wtcpname.html Hope this helps. Regards, Franz
updatemyself .
2005-Nov-15 12:53 UTC
[Samba] Unable to connect samba server using hostname
Strebel, Franz R & kurt weiss All My machines are in same subnet.. and its resolving the IP address .. correctly.. i am using samba-3.0.14a-1.... (i download src rom from samb.org <http://samb.org> and rebuid the rpm using --with acl support option) most of my clients are perfactly accessing samba share with out any problem.. only few machines having above problem.. all are same configuration same Operating system Windows XP with SP2 Firewall Disabled On 11/15/05, Strebel, Franz R. <strebelf@who.int> wrote:> > Netbios name resolution does not work across subnets > so I am guessing that that is causing the problem. Using > the IP address does not have this issue. > > There are two ways to deal with this: > > 1. have a WINS server > 2. put appropriate entries in the LMHOSTS file > > More info can be found here: > http://www.comptechdoc.org/os/windows/wintcp/wtcpname.html > > Hope this helps. > > Regards, > Franz > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >-- regards, Jerrynikki
Strebel, Franz R.
2005-Nov-15 12:59 UTC
[Samba] Unable to connect samba server using hostname
Hmm, what is the error message you get from the problematic machines? Does anything register at all in the samba logs on the server?
updatemyself .
2005-Nov-15 13:21 UTC
[Samba] Unable to connect samba server using hostname
Hai Strebel, Franz R & ALL while i try to connect share from machine those getting error... its ask for username and password... but even if we give username and password.. share will not open.. it will again ask user name and passowrd.. but user name or password is.... not needed to.. access this share.. its connected to ADS.... also its not asking for username or password.. while we access through IP address and its connecting.. i got following errors.. while i try with hostname this log file is writed in "/var/log/samba/3dr21.log" "3dr21" is the Host name of... windows XP Machine [2005/11/15 17:33:07, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:07, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:07, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:07, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:31, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:31, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! [2005/11/15 17:33:32, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! regards jerrynikki
Timothy Dutton
2005-Nov-16 10:48 UTC
[Samba] Unable to connect samba server using hostname
-----Original Message----- From: updatemyself . [mailto:updatemyself@gmail.com] Sent: 15 November 2005 12:21 To: samba@lists.samba.org; updatemyself@gmail.com Subject: [Samba] Unable to connect samba server using hostname Hai All, I am Unable to connect samba server using hostname the thing is.. its happen only from few windows machine in my network... but they can access the sambe share using IPAddress.. as like all other machine All the other Windows system in my network can access samba share using both... IP Address and Hostname.. This creating a big headache for me..... please suggest some solution to solve this problems... Here is my smb.conf file configuration... #=========================== Global Settings ===============================[global] workgroup = MYDOMAIN server string = Samba Server log file = /var/log/samba/%m.log max log size = 50 security = ads encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no #=========================== Share Definitions =============================#ldap idmap suffix = ou=emplist,dc=dqe,dc=com password server = 172.16.20.200 <http://172.16.20.200> realm = MYDOMAIN.COM <http://MYDOMAIN.COM> idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/bash template homedir = /home/%D/%U allow trusted domains = no idmap backend = idmap_rid:DQE=16777216-33554431 winbind use default domain = yes [vol08] path = /vol08_700 writable = yes public = yes nt acl support = yes create mask = 0755 security mask = 0755 inherit permissions = yes inherit acls = yes force security mode = 0 directory security mask = 0777 force directory security mode = 0 ===========================================================================Please Share Your knowledge to solve this problem... Thank You in Advance, Regards, Jerrynikki. Hi Have you double checked that your hosts files on your windows machines? It may be that some of those need updating to reflect your network configuration. Tim
updatemyself .
2005-Nov-17 11:05 UTC
[Samba] Unable to connect samba server using hostname
*Hai...* ** *can u tell me the way... how i can check those files..* *so please.. give me thesteps to check those files..* ** *thanks a lot...* *regards* *jerrynikki* On 11/16/05, Timothy Dutton <tim.dutton@blueyonder.co.uk> wrote:> > *Hi > > Have you double checked that your hosts files on your windows machines? It > may be that some of those need updating to reflect your network > configuration. > > Tim*-----Original Message-----> From: updatemyself . [mailto:updatemyself@gmail.com] > Sent: 15 November 2005 12:21 > To: samba@lists.samba.org; updatemyself@gmail.com > Subject: [Samba] Unable to connect samba server using hostname > > Hai All, > > I am Unable to connect samba server using hostname > the thing is.. its happen only from few windows machine > in my network... but they can access the sambe share > using IPAddress.. as like all other machine > > All the other Windows system in my network can access samba share > using both... IP Address and Hostname.. > This creating a big headache for me..... > please suggest some solution to solve this problems... > > > Here is my smb.conf file configuration... > > #=========================== Global Settings > ===============================> [global] > > workgroup = MYDOMAIN > server string = Samba Server > log file = /var/log/samba/%m.log > max log size = 50 > security = ads > encrypt passwords = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > dns proxy = no > > > #=========================== Share Definitions > =============================> #ldap idmap suffix = ou=emplist,dc=dqe,dc=com > password server = 172.16.20.200 <http://172.16.20.200> < > http://172.16.20.200> > realm = MYDOMAIN.COM <http://MYDOMAIN.COM> <http://MYDOMAIN.COM> > idmap uid = 16777216-33554431 > idmap gid = 16777216-33554431 > template shell = /bin/bash > template homedir = /home/%D/%U > allow trusted domains = no > idmap backend = idmap_rid:DQE=16777216-33554431 > winbind use default domain = yes > > > [vol08] > path = /vol08_700 > writable = yes > public = yes > nt acl support = yes > create mask = 0755 > security mask = 0755 > inherit permissions = yes > inherit acls = yes > force security mode = 0 > directory security mask = 0777 > force directory security mode = 0 > > > > ===========================================================================> > Please Share Your knowledge to solve this problem... > > Thank You in Advance, > > Regards, > Jerrynikki. > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
updatemyself .
2005-Nov-17 22:51 UTC
[Samba] Unable to connect samba server using hostname
Hai All, i tried all the options.. even my nslookup is working perfect... even then i add... ip address and hostname.. in Windows/system32/drivers/etc/hosts but still i am not able to connect my samba server.. from some windows XP machine.. please Please help me... because its very very urgent for me.. thank you in advance.. jerrynikki. On 11/17/05, updatemyself . <updatemyself@gmail.com> wrote:> > hai Timothy Dutton > > why its needed... > > "nslookup" command is working perfectly... its resolving the IP... > > anyway i will try this.. and i will update u the status... > thanks for ur kind information... > thanks a lot.. > > regards > jerrynikki. > > > > On 11/17/05, Timothy Dutton <tim.dutton@blueyonder.co.uk> wrote: > > > > Hi > > > > The hosts files are found at Windows/system32/drivers/etc/hosts > > > > And the format is the same as the linux file /etc/hosts > > > > The default entry for hosts is simply > > > > 127.0.0.1 <http://127.0.0.1/> localhost > > > > But you can add your own lines > > > > For example > > > > 192.168.1.100 <http://192.168.1.100/> server.domain.com<http://server.domain.com/>server > > > > Or what ever the ip address of the server is > > > > You can also add the addresses of the other machines on the network > > > > I hope this helps > > > > Tim > > > > ------------------------------ > > > > *From:* updatemyself . [mailto:updatemyself@gmail.com] > > *Sent:* 17 November 2005 11:05 > > *To:* Timothy Dutton > > *Cc:* samba@lists.samba.org > > *Subject:* Re: [Samba] Unable to connect samba server using hostname > > > > *Hai...* > > > > *can u tell me the way... how i can check those files..* > > > > *so please.. give me thesteps to check those files..* > > > > *thanks a lot...* > > > > *regards* > > > > *jerrynikki* > > > > > > > > On 11/16/05, *Timothy Dutton* <tim.dutton@blueyonder.co.uk> wrote: > > > > *Hi** > > > > Have you double checked that your hosts files on your windows machines? > > It > > may be that some of those need updating to reflect your network > > configuration. > > > > Tim* > > > > -----Original Message----- > > From: updatemyself . [mailto:updatemyself@gmail.com ] > > Sent: 15 November 2005 12:21 > > To: samba@lists.samba.org; updatemyself@gmail.com > > Subject: [Samba] Unable to connect samba server using hostname > > > > Hai All, > > > > I am Unable to connect samba server using hostname > > the thing is.. its happen only from few windows machine > > in my network... but they can access the sambe share > > using IPAddress.. as like all other machine > > > > All the other Windows system in my network can access samba share > > using both... IP Address and Hostname.. > > This creating a big headache for me..... > > please suggest some solution to solve this problems... > > > > > > Here is my smb.conf file configuration... > > > > #=========================== Global Settings > > ===============================> > [global] > > > > workgroup = MYDOMAIN > > server string = Samba Server > > log file = /var/log/samba/%m.log > > max log size = 50 > > security = ads > > encrypt passwords = yes > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > dns proxy = no > > > > > > #=========================== Share Definitions > > =============================> > #ldap idmap suffix = ou=emplist,dc=dqe,dc=com > > password server = 172.16.20.200 <http://172.16.20.200/> <http://172.16.20.200 > > > > > realm = MYDOMAIN.COM <http://mydomain.com/> < http://MYDOMAIN.COM<http://mydomain.com/> > > > > > idmap uid = 16777216-33554431 > > idmap gid = 16777216-33554431 > > template shell = /bin/bash > > template homedir = /home/%D/%U > > allow trusted domains = no > > idmap backend = idmap_rid:DQE=16777216-33554431 > > winbind use default domain = yes > > > > > > [vol08] > > path = /vol08_700 > > writable = yes > > public = yes > > nt acl support = yes > > create mask = 0755 > > security mask = 0755 > > inherit permissions = yes > > inherit acls = yes > > force security mode = 0 > > directory security mask = 0777 > > force directory security mode = 0 > > > > > > ===========================================================================> > > > > > Please Share Your knowledge to solve this problem... > > > > Thank You in Advance, > > > > Regards, > > Jerrynikki. > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > > > >
Strebel, Franz R.
2005-Nov-18 07:42 UTC
[Samba] Unable to connect samba server using hostname
can you try adding an entry to lmhosts instead?
updatemyself .
2005-Nov-21 11:50 UTC
[Samba] Unable to connect samba server using hostname
hai My Friends...... I got the Solution..... Thanks a Lot for all........... it was not because of any other issue....... just because of the time difference between samba server and windows clients.. if there is a clock difference of greater than 5 minutes between Domain Member and the DCs, i think.. the kerberos packets will expaire... Domain Member clock has approximately the same time as the DC. Anyway With this Solution... i solved... my problem.... i got this from net only... by searching searchin searching... anyway.. Thanks for all of my friends here.. who motivate me.... this much.. to achive my gole.... THANK YOU ONCE AGAIN regards, Jerrynikki.