02-02-2020
Quire right, only many big enterprises use MS... for the active directory, and while at it let MS... rule the DNS also for "security" purpose with MS proxies...
This leads to many fancy bugs when there are misunderstandings between Windows standards and Unix standards...
Is this yet another case?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Very new to unix stuff, and this is my first post to the forum. I'm pretty sure I know enough to know I know nothing, so please be patient with me and don't laugh too hard.
Ok, I've got an old computer and a laptop - the old computer was bought in the mid 90's it's still running windows... (1 Reply)
Discussion started by: boredbody
1 Replies
2. Windows & DOS: Issues & Discussions
Hi,
I am trying to install WIndows 2003 R2 Server on existing Windows 2008 server. When I run the 2003 cd it says no disk found. What can be the problem. (2 Replies)
Discussion started by: gunnervarma
2 Replies
3. UNIX for Dummies Questions & Answers
Sometimes I observe this in gdb:
(gdb) br my_function
Breakpoint .. at 0x...: file ..., line ...
i.e., "my_function" does exist in the current executable.
however, dlsym does not find it:
(gdb) p dlsym(0,"my_function")
$6 = 0
This is a C program; dlsym does find other defined functions and... (2 Replies)
Discussion started by: sds
2 Replies
4. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
5. UNIX for Advanced & Expert Users
Hi guys,
please help me get the answers of these questions which I faced in an interview @ Yahoo
1. I want to " ls " few million files, certainly I cannot do so because ls has some restriction in KBs, how can I do it alternatively.
2. Change the system in such a way that while booting up,... (2 Replies)
Discussion started by: gauravsharma29
2 Replies
6. IP Networking
Hey everyone,
Okay, so I've been having some fun with the dig command, and wanted to dig my old school. Two questions came up from this. So I:
dig @8.8.8.8 +recurse njcu.edu ANY
and the result is about 8 records, including the SOA record. One of them is this weird TXT record, and the other is... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
7. Hardware
I have read a document which tells me the following 4 things are done by the RAM embedded on disk driver controller. But I don't know what's difference between buffer and cache. Thanks!
RAM on disk drive controllers
1 firmware
2 speed matching buffer
3 prefetching buffer
4 cache (1 Reply)
Discussion started by: 915086731
1 Replies
8. Solaris
I am trying to find the home directory of users on a UNIX (Solaris/AIX) box using
echo ~usernameThis does return the home directory for all valid users. For some reason this command also outputs home directory which are non-existent for few users who seem not to have logon access to that... (31 Replies)
Discussion started by: thinkster
31 Replies
9. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
getcwd(3) Library Functions Manual getcwd(3)
NAME
getcwd - Gets the pathname of the current directory
LIBRARY
Standard C Library (libc) System V Library (libsysv)
SYNOPSIS
Standard C Library:
#include <unistd.h>
char *getcwd( char *buffer, size_t size);
System V Library:
char *getcwd( char *buffer, int size);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
getcwd() - libc version: XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Points to a string space to hold the pathname. Specifies the length of the string space in bytes. The value of the size parameter must be
at least the length of the pathname to be returned plus one byte for the terminating null.
DESCRIPTION
The getcwd() function returns a pointer to a string containing the absolute pathname of the current directory. The getwd() function is
called to obtain the pathname.
[Tru64 UNIX] If the buffer parameter is a null pointer, the getcwd() function, using the malloc() function, obtains the number of bytes of
free space as specified by the size parameter. In this case, the pointer returned by the getcwd() function can be used as the parameter in
a subsequent call to the free() function.
NOTES
[Tru64 UNIX] The getcwd() function is supported for multithreaded applications.
RETURN VALUES
Upon successful completion, getcwd() returns the buffer parameter. Otherwise, a null value is returned and errno is set to indicate the
error.
ERRORS
The getcwd() function sets errno to the specified values for the following conditions: Read or search permission was denied for a component
of the pathname. The size parameter is zero.
[Tru64 UNIX] The size parameter is less than or equal to zero (for the libsys5 version of getcwd() only). The size parameter is
greater than zero, but is smaller than the length of the pathname + 1. The requested amount of memory could not be allocated.
RELATED INFORMATION
Functions: malloc(3), getwd(3)
Standards: standards(5) delim off
getcwd(3)