search for: _nt

Displaying 12 results from an estimated 12 matches for "_nt".

Did you mean: _n
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
...ot; --port -p <n> sshd listens on port n." + echo " --pwd -w <passwd> Use \"pwd\" as password for user 'sshd_server'." echo exit 1 ;; @@ -96,8 +107,13 @@ do done # Check if running on NT -_sys="`uname -a`" -_nt=`expr "$_sys" : "CYGWIN_NT"` +_sys="`uname`" +_nt=`expr "${_sys}" : "CYGWIN_NT"` +# If running on NT, check if running under 2003 Server or later +if [ ${_nt} -gt 0 ] +then + _nt2003=`uname | awk -F- '{print ( $2 >= 5.2 ) ? 1 : 0;}'` +fi...
2002 Jul 03
1
[PATCH]: Change Cygwin contrib files to better support PrivSep
...@@ progname=$0 auto_answer="" port_number=22 +privsep_configured=no +privsep_used=yes +sshd_in_passwd=no +sshd_in_sam=no + request() { if [ "${auto_answer}" = "yes" ] @@ -90,6 +95,10 @@ do esac done +# Check if running on NT +_sys="`uname -a`" +_nt=`expr "$_sys" : "CYGWIN_NT"` + # Check for running ssh/sshd processes first. Refuse to do anything while # some ssh processes are still running @@ -126,6 +135,38 @@ then fi fi +# Create /var/log and /var/log/lastlog if not already existing + +if [ -f /var/log ] +then +...
2002 Jul 10
1
[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config
...-host-config,v retrieving revision 1.8 diff -u -p -r1.8 ssh-host-config --- contrib/cygwin/ssh-host-config 7 Jul 2002 21:07:47 -0000 1.8 +++ contrib/cygwin/ssh-host-config 10 Jul 2002 12:10:10 -0000 @@ -163,6 +163,7 @@ else # On NT change ownership of that dir to user "system" if [ $_nt -gt 0 ] then + chmod 755 /var/empty chown system.system /var/empty fi fi -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen at redhat.com
2003 Apr 30
3
huge amount of _samr_query_aliasmem errors [repost]
Hello, I am reposting this messages, because I did not get any reply, and frankly, I am rather desparate... I also found out some additional info (at the end) I get a HUGE amount of the following errors: In /var/log/samba/log.smbd [2003/04/28 12:11:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626) _samr_query_aliasmem: Not yet implemented. In /var/log/syslog Apr 28 12:25:14 iuamtg smbd[23473]: [2003/04/28 12:25:14, 0] rpc_server/srv_samr _nt.c:_samr_query_aliasmem(2626) Apr 28 12:25:14 iuamtg smbd[23473]: _samr_query_aliasmem: Not yet implemented. And when...
2001 Mar 07
4
[PATCH]: contrib/cygwin/ssh-host-config
...at > ${SYSCONFDIR}/sshd_config << EOF # This is ssh server systemwide configuration file. -Port 22 +Port $port_number # Protocol 2,1 ListenAddress 0.0.0.0 @@ -330,7 +342,7 @@ UseLogin no EOF fi -# Add port 22/tcp to services +# Care for services file _sys="`uname -a`" _nt=`expr "$_sys" : "CYGWIN_NT"` if [ $_nt -gt 0 ] @@ -344,33 +356,86 @@ fi _services=`cygpath -u "${_wservices}"` _serv_tmp=`cygpath -u "${_wserv_tmp}"` -mount -b -f "${_wservices}" "${_services}" -mount -b -f "${_wserv_tmp}" &...
2001 Jun 13
0
[PATCH]: Add features to Cygwin's ssh-host-config script
...! -d /var/log ] + then + mkdir /var/log + fi + if [ -d /var/log/lastlog ] + then + echo "Creating /var/log/lastlog failed\!" + elif [ ! -f /var/log/lastlog ] + then + cat /dev/null > /var/log/lastlog + fi +fi + +# On NT ask if sshd should be installed as service +if [ $_nt -gt 0 ] +then + echo + echo "Do you want to install sshd as service?" + if request "(Say \"no\" if it's already installed as service)" + then + echo + echo "Which value should the environment variable CYGWIN have when" + echo "sshd start...
2008 Feb 18
1
[PATCH] Make sure /var/empty dir really exists
...tion." + echo + exit 1 +if [ ! -e ${LOCALSTATEDIR}/empty ] +then + if ! mkdir -p ${LOCALSTATEDIR}/empty + then + echo + echo "Creating ${LOCALSTATEDIR}/empty directory failed." + echo "Cannot create ssh host configuration." + echo + exit 1 + fi if [ ${_nt} -gt 0 ] then chmod 755 ${LOCALSTATEDIR}/empty -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
1999 Jan 04
1
How to hook WIN-NT client and WIN-95 client to Samba on Solaris2.5.1 ?
Hello Sorry for the newbie question.. I am new to Windows environment. I have setup a Samba -Version 1.9.18p10 on a Solaris 2.5.1 m/c. I want to hook WIN _NT and 95 /98 clients to it. The Win clients are on the same network and are also hooked to other Netware servers. I am not sure how this is done. I have set up entries for the Samba server in the 'lmhosts' file. The clients do'nt recognize the Samba server. In NT client's I...
2003 Oct 30
0
[PATCH] contrib/cygwin/ssh-host-config: Fix a CRLF/LF issue
...v retrieving revision 1.11 diff -p -u -r1.11 ssh-host-config --- contrib/cygwin/ssh-host-config 22 Sep 2003 02:32:01 -0000 1.11 +++ contrib/cygwin/ssh-host-config 30 Oct 2003 10:18:22 -0000 @@ -468,19 +468,21 @@ then fi # Care for services file +_my_etcdir="/ssh-host-config.$$" if [ $_nt -gt 0 ] then - _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services" - _wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$" + _win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc" + _services="${_my_etcdir}/services" else - _wservices=&q...
2001 Jan 18
1
New configuration scripts for Cygwin
...rent user accounts change to "yes" here PasswordAuthentication no PermitEmptyPasswords no CheckMail no UseLogin no #Uncomment if you want to enable sftp #Subsystem sftp /usr/sbin/sftp-server #MaxStartups 10:30:60 EOF fi # Add port 22/tcp to services _sys="`uname -a`" _nt=`expr "$_sys" : "CYGWIN_NT"` if [ $_nt -gt 0 ] then _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services" _wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$" else _wservices="${WINDIR}\\SERVICES" _wserv_tmp="${WINDIR}\...
2001 Jul 11
0
[PATCH]: Cygwin: Changes to cygwin contrib area
...! -d /var/log ] + then + mkdir /var/log + fi + if [ -d /var/log/lastlog ] + then + echo "Creating /var/log/lastlog failed\!" + elif [ ! -f /var/log/lastlog ] + then + cat /dev/null > /var/log/lastlog + fi +fi + +# On NT ask if sshd should be installed as service +if [ $_nt -gt 0 ] +then + echo + echo "Do you want to install sshd as service?" + if request "(Say \"no\" if it's already installed as service)" + then + echo + echo "Which value should the environment variable CYGWIN have when" + echo "sshd start...
1999 Aug 27
9
help with samba
i changed ip to my server and then i cant connect anymore using _NT authentication this the error i got from the log file: [root@server samba]# tail -f log.luca [1999/08/27 19:07:05, 0] passdb/smbpassfile.c:trust_get_passwd(294) domain_client_validate: unable to read the machine account password for machine SERVER in domain SATORI. [1999/08/27 19:07:05, 1] smbd...